mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fix fresh zombies not getting claws (#41020)
Caused by movement overhaul being indiscriminate in replacements.
This commit is contained in:
committed by
yogstation13-bot
parent
5fa09aff85
commit
55e3f2ba3a
@@ -203,9 +203,9 @@
|
|||||||
return FALSE //nonliving mobs don't have hands
|
return FALSE //nonliving mobs don't have hands
|
||||||
|
|
||||||
/mob/living/put_in_hand_check(obj/item/I)
|
/mob/living/put_in_hand_check(obj/item/I)
|
||||||
if(!(mobility_flags & MOBILITY_PICKUP) || !istype(I))
|
if(istype(I) && ((mobility_flags & MOBILITY_PICKUP) || (I.item_flags & ABSTRACT)))
|
||||||
return FALSE
|
|
||||||
return TRUE
|
return TRUE
|
||||||
|
return FALSE
|
||||||
|
|
||||||
//Puts the item into our active hand if possible. returns TRUE on success.
|
//Puts the item into our active hand if possible. returns TRUE on success.
|
||||||
/mob/proc/put_in_active_hand(obj/item/I, forced = FALSE, ignore_animation = TRUE)
|
/mob/proc/put_in_active_hand(obj/item/I, forced = FALSE, ignore_animation = TRUE)
|
||||||
|
|||||||
Reference in New Issue
Block a user