Kills off Object and Fast Object Processes

This commit is contained in:
Fox McCloud
2019-04-23 23:53:40 -04:00
parent 1544756ce6
commit 0034e851a1
126 changed files with 350 additions and 396 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ Data storage vars:
CRASH("The global_iterator loop \ref[src] failed to terminate in designated timeframe. This may be caused by server lagging.")
return 1
/datum/global_iterator/proc/process()
/datum/global_iterator/process()
return
/datum/global_iterator/proc/active()
+3 -3
View File
@@ -32,11 +32,11 @@
var/obj/screen/alert/status_effect/A = owner.throw_alert(id, alert_type)
A.attached_effect = src //so the alert can reference us, if it needs to
linked_alert = A //so we can reference the alert, if we need to
GLOB.fast_processing.Add(src)
START_PROCESSING(SSfastprocess, src)
return TRUE
/datum/status_effect/Destroy()
GLOB.fast_processing.Remove(src)
STOP_PROCESSING(SSfastprocess, src)
if(owner)
owner.clear_alert(id)
LAZYREMOVE(owner.status_effects, src)
@@ -44,7 +44,7 @@
owner = null
return ..()
/datum/status_effect/proc/process()
/datum/status_effect/process()
if(!owner)
qdel(src)
return