mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 23:53:47 +01:00
Converts Most Destroys to use QDEL_NULL
This commit is contained in:
@@ -18,8 +18,7 @@
|
||||
/datum/computer_file/program/alarm_monitor/Destroy()
|
||||
for(var/datum/alarm_handler/AH in alarm_handlers)
|
||||
AH.unregister(src)
|
||||
qdel(alarm_handlers)
|
||||
alarm_handlers = null
|
||||
QDEL_NULL(alarm_handlers)
|
||||
return ..()
|
||||
|
||||
/datum/computer_file/program/alarm_monitor/proc/update_icon()
|
||||
|
||||
Reference in New Issue
Block a user