runtime fix

This commit is contained in:
D3athrow
2015-04-08 14:40:59 -05:00
parent d2139005ff
commit cd460bf3fb

View File

@@ -240,7 +240,7 @@
//if(istype(mob.loc, /turf/space) || (mob.flags & NOGRAV))
// if(!mob.Process_Spacemove(0)) return 0
if((istype(mob.loc, /turf/space)) || ((mob.areaMaster.has_gravity == 0) && (!istype(mob.loc, /obj/spacepod)))) // last section of if statement prevents spacepods being unable to move when the gravity goes down
if((istype(mob.loc, /turf/space)) || ((mob.areaMaster && mob.areaMaster.has_gravity == 0) && (!istype(mob.loc, /obj/spacepod)))) // last section of if statement prevents spacepods being unable to move when the gravity goes down
if(!mob.Process_Spacemove(0))
return 0