From ce6cd1c1338be4e07210041e411b280d0ba54e9d Mon Sep 17 00:00:00 2001 From: Ccomp5950 Date: Sat, 15 Feb 2014 17:20:54 -0600 Subject: [PATCH] Supermatter will stop processing when it's in space. --- code/modules/supermatter/supermatter.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/supermatter/supermatter.dm b/code/modules/supermatter/supermatter.dm index 8547c42fdd2..4bdd2431cea 100644 --- a/code/modules/supermatter/supermatter.dm +++ b/code/modules/supermatter/supermatter.dm @@ -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))