Merge pull request #4440 from Ccomp5950/dev-freeze

Supermatter will stop processing when it's in space.
This commit is contained in:
Mloc
2014-02-16 14:24:05 +00:00
+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))