mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 22:56:33 +01:00
correct mixed case QDEL_NULL/qdel_null + behavior
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
unregister_dangerous_to_step()
|
||||
if(trap)
|
||||
QDEL_NULL(trap)
|
||||
qdel_null(wires)
|
||||
QDEL_NULL(wires)
|
||||
return ..()
|
||||
|
||||
/obj/effect/mine/Moved(atom/oldloc)
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
/obj/item/flashlight/Destroy()
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
qdel_null(cell)
|
||||
QDEL_NULL(cell)
|
||||
return ..()
|
||||
|
||||
/obj/item/flashlight/get_cell()
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
cell = new/obj/item/cell/high(src) //comes not with the crappy default power cell - because this is dedicated EVA equipment
|
||||
|
||||
/obj/item/suit_cooling_unit/Destroy()
|
||||
qdel_null(cell)
|
||||
QDEL_NULL(cell)
|
||||
return ..()
|
||||
|
||||
/obj/item/suit_cooling_unit/process()
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
ion_trail.stop()
|
||||
|
||||
/obj/item/uav/Destroy()
|
||||
qdel_null(cell)
|
||||
qdel_null(ion_trail)
|
||||
QDEL_NULL(cell)
|
||||
QDEL_NULL(ion_trail)
|
||||
LAZYCLEARLIST(masters)
|
||||
STOP_PROCESSING(SSobj, src)
|
||||
return ..()
|
||||
|
||||
@@ -58,8 +58,8 @@
|
||||
first_disposal = GLOB.disposal_pipe_recipes[GLOB.disposal_pipe_recipes[1]][1]
|
||||
|
||||
/obj/item/pipe_dispenser/Destroy()
|
||||
qdel_null(spark_system)
|
||||
qdel_null(tool)
|
||||
QDEL_NULL(spark_system)
|
||||
QDEL_NULL(tool)
|
||||
return ..()
|
||||
|
||||
/obj/item/pipe_dispenser/attack_self(mob/user)
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
/obj/structure/closet/Destroy()
|
||||
. = ..()
|
||||
qdel_null(door_obj)
|
||||
QDEL_NULL(door_obj)
|
||||
|
||||
/obj/structure/closet/examine(mob/user)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user