Skip to content

Commit

Permalink
Properly fix Light Step (#3273)
Browse files Browse the repository at this point in the history
  • Loading branch information
Absolucy authored Sep 8, 2024
1 parent 3f1a0d1 commit 79c6862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/datums/components/bloodysoles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@
* Run to equally share the blood between us and a decal
*/
/datum/component/bloodysoles/proc/share_blood(obj/effect/decal/cleanable/pool)
if(HAS_TRAIT(parent_atom, TRAIT_LIGHT_STEP)) //the character is agile enough to don't mess their clothing and hands just from one blood splatter at floor
return TRUE

// Share the blood between our boots and the blood pool
var/total_bloodiness = pool.bloodiness + bloody_shoes[pool.blood_state]

Expand All @@ -96,6 +93,9 @@
set_bloody_shoes(pool.blood_state, new_our_bloodiness)
pool.bloodiness = total_bloodiness - new_our_bloodiness // Give the pool the remaining blood incase we were limited

if(HAS_TRAIT(wielder, TRAIT_LIGHT_STEP)) //the character is agile enough to don't mess their clothing and hands just from one blood splatter at floor
return TRUE

parent_atom.add_blood_DNA(GET_ATOM_BLOOD_DNA(pool))
update_icon()

Expand Down

0 comments on commit 79c6862

Please sign in to comment.