mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Kill processing_objects (#3398)
This commit is contained in:
@@ -159,7 +159,7 @@
|
||||
M << "<span class='warning'>You feel a wave of heat wash over you.</span>"
|
||||
M.apply_effect(300, IRRADIATE)
|
||||
//crit_fail = 1 //break the gun so it stops recharging
|
||||
processing_objects.Remove(src)
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
update_icon()
|
||||
return 0
|
||||
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
/*
|
||||
/obj/item/weapon/gun/energy/temperature/New()
|
||||
..()
|
||||
processing_objects.Add(src)
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
|
||||
|
||||
/obj/item/weapon/gun/energy/temperature/Destroy()
|
||||
processing_objects.Remove(src)
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
..()
|
||||
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ obj/aiming_overlay/proc/update_aiming_deferred()
|
||||
playsound(get_turf(owner), 'sound/weapons/TargetOn.ogg', 50,1)
|
||||
|
||||
forceMove(get_turf(target))
|
||||
processing_objects |= src
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
|
||||
aiming_at.aimed |= src
|
||||
toggle_active(1)
|
||||
@@ -222,7 +222,7 @@ obj/aiming_overlay/proc/update_aiming_deferred()
|
||||
|
||||
aiming_with = null
|
||||
loc = null
|
||||
processing_objects -= src
|
||||
STOP_PROCESSING(SSprocessing, src)
|
||||
|
||||
/obj/aiming_overlay/proc/target_moved()
|
||||
update_aiming()
|
||||
|
||||
Reference in New Issue
Block a user