Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsar-Salat committed Apr 18, 2024
1 parent 3a6eaca commit 7143564
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions code/datums/components/bloodysoles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
for(var/X in wielder.bodyparts)
var/obj/item/bodypart/affecting = X
if(affecting.body_part == LEG_RIGHT || affecting.body_part == LEG_LEFT)
if(!affecting.disabled)
if(!affecting.bodypart_disabled)
FP.species_types |= affecting.limb_id
break

Expand All @@ -273,13 +273,13 @@
return ITEM_SLOT_FEET in wielder.check_obscured_slots(TRUE)

/datum/component/bloodysoles/feet/on_moved(datum/source, OldLoc, Dir, Forced)
if(wielder.get_num_legs(FALSE) < 2)
if(wielder.num_legs < 2)
return

..()

/datum/component/bloodysoles/feet/on_step_blood(datum/source, obj/effect/decal/cleanable/pool)
if(wielder.get_num_legs(FALSE) < 2)
if(wielder.num_legs < 2)
return

..()
Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/living.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@

// Movespeed mods based on arms/legs quantity
if(movement_type & (FLYING | FLOATING))
remove_movespeed_modifier(MOVESPEED_ID_LIVING_LIMBLESS)
remove_movespeed_modifier(/datum/movespeed_modifier/limbless)
else
var/limbless_slowdown = 0
// These checks for <2 should be swapped out for something else if we ever end up with a species with more than 2
Expand Down

0 comments on commit 7143564

Please sign in to comment.