remove_from_active now handles unsimulated turfs properly

This commit is contained in:
Kyle Spier-Swenson
2016-03-20 03:27:37 -07:00
parent 50fc26edea
commit f81ec7fc44
+1 -1
View File
@@ -147,9 +147,9 @@ var/datum/subsystem/air/SSair
/datum/subsystem/air/proc/remove_from_active(turf/simulated/T)
if(istype(T))
T.excited = 0
active_turfs -= T
if(T.excited_group)
T.excited_group.garbage_collect()
active_turfs -= T
/datum/subsystem/air/proc/add_to_active(turf/simulated/T, blockchanges = 1)