Meteors can now qdel normally (#30970)

This commit is contained in:
vuonojenmustaturska
2017-09-24 07:34:51 +03:00
committed by CitadelStationBot
parent 6966ebc14f
commit d111c582b4
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -14,6 +14,9 @@ SUBSYSTEM_DEF(augury)
/datum/controller/subsystem/augury/proc/register_doom(atom/A, severity)
doombringers[A] = severity
/datum/controller/subsystem/augury/proc/unregister_doom(atom/A)
doombringers -= A
/datum/controller/subsystem/augury/fire()
var/biggest_doom = null
var/biggest_threat = null
+1
View File
@@ -119,6 +119,7 @@ GLOBAL_LIST_INIT(meteorsC, list(/obj/effect/meteor/dust)) //for space dust event
/obj/effect/meteor/Destroy()
GLOB.meteor_list -= src
SSaugury.unregister_doom(src)
walk(src,0) //this cancels the walk_towards() proc
. = ..()