Supermatter will stop processing when it's in space.

This commit is contained in:
Ccomp5950
2014-02-15 17:20:54 -06:00
parent 2703a10fd0
commit ce6cd1c133
+3
View File
@@ -93,6 +93,9 @@
if(!istype(L)) //We are in a crate or somewhere that isn't turf, if we return to turf resume processing but for now.
return //Yeah just stop.
if(istype(L, /turf/space)) // Stop processing this stuff if we've been ejected.
return
if(damage > warning_point) // while the core is still damaged and it's still worth noting its status
if((world.timeofday - lastwarning) / 10 >= WARNING_DELAY)
var/stability = num2text(round((damage / explosion_point) * 100))