Merge pull request #11427 from Citadel-Station-13/kevinz000-patch-5

Fixes posibrain/MMI mechs not getting any mobility flags
This commit is contained in:
Ghom
2020-03-11 16:48:02 +01:00
committed by GitHub
+1 -1
View File
@@ -40,7 +40,7 @@
return ..()
/mob/living/brain/update_mobility()
return ((mobility_flags = (in_contents_of(/obj/mecha)? MOBILITY_FLAGS_DEFAULT : NONE)))
return ((mobility_flags = (container?.in_contents_of(/obj/mecha)? MOBILITY_FLAGS_DEFAULT : NONE)))
/mob/living/brain/ex_act() //you cant blow up brainmobs because it makes transfer_to() freak out when borgs blow up.
return