mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Converts Most Destroys to use QDEL_NULL
This commit is contained in:
@@ -14,9 +14,7 @@
|
||||
..()
|
||||
|
||||
/obj/item/weapon/computer_hardware/battery/Destroy()
|
||||
if(battery)
|
||||
qdel(battery)
|
||||
battery = null
|
||||
QDEL_NULL(battery)
|
||||
return ..()
|
||||
|
||||
/obj/item/weapon/computer_hardware/battery/on_remove(obj/item/device/modular_computer/M, mob/living/user = null)
|
||||
|
||||
Reference in New Issue
Block a user