We don't have wheelchairs? Heresy. Plus fixes to work on citcode. Csafe

This commit is contained in:
Fermi
2019-06-01 17:20:04 +01:00
parent 7fe18b5a37
commit 7990a20ea6
6 changed files with 133 additions and 22 deletions
+1 -1
View File
@@ -225,7 +225,7 @@
set_disabled(is_disabled())
/obj/item/bodypart/proc/is_disabled()
if(has_trait(TRAIT_PARALYSIS))
if(owner.has_trait(TRAIT_PARALYSIS))
return BODYPART_DISABLED_PARALYSIS
if(can_dismember() && !owner.has_trait(TRAIT_NODISMEMBER))
. = disabled //inertia, to avoid limbs healing 0.1 damage and being re-enabled