Skip to content

Commit

Permalink
qdel fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
X0-11 committed Jun 3, 2024
1 parent d3cff42 commit 638de2a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion code/game/machinery/computer/atmos_alert.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var/global/list/minor_air_alarms = list()

/obj/machinery/computer/atmos_alert/Destroy()
atmosphere_alarm.unregister_alarm(src)
..()
. = ..()

/obj/machinery/computer/atmos_alert/attack_hand(mob/user)
ui_interact(user)
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/newscaster.dm
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ var/list/obj/machinery/newscaster/allCasters = list() //Global list that will co

/obj/machinery/newscaster/Destroy()
allCasters -= src
..()
. = ..()

/obj/machinery/newscaster/update_icon()
if(inoperable())
Expand Down
7 changes: 4 additions & 3 deletions code/game/machinery/vending.dm
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,13 @@
src.product_records.Add(product)

/obj/machinery/vending/Destroy()
qdel(wires)
QDEL_NULL(wires)
wires = null
qdel(coin)
QDEL_NULL(coin)
coin = null
for(var/R in product_records)
qdel(R)
product_records -= R
QDEL_NULL(R)
product_records = null
return ..()

Expand Down
2 changes: 1 addition & 1 deletion code/modules/atmospherics/components/tvalve.dm
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
node2 = null
node3 = null

..()
. = ..()

/obj/machinery/atmospherics/tvalve/proc/go_to_side()

Expand Down
3 changes: 1 addition & 2 deletions code/modules/atmospherics/components/unary/vent_scrubber.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@

/obj/machinery/atmospherics/unary/vent_scrubber/Destroy()
unregister_radio(src, frequency)
..()

. = ..()

/obj/machinery/atmospherics/unary/vent_scrubber/update_icon(var/safety = 0)
if(!check_icon_cache())
Expand Down
2 changes: 1 addition & 1 deletion code/modules/atmospherics/pipes.dm
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
overlays += icon_manager.get_atmos_icon("pipe", , pipe_color, "[pipe_icon]exposed[node1?1:0][node2?1:0][icon_connect_type]")
if(!leaking)
leaking = 1
START_PROCESSING(SSobj, src)
START_PROCESSING(SSmachines, src)

/obj/machinery/atmospherics/pipe/simple/update_underlays()
return
Expand Down
2 changes: 1 addition & 1 deletion code/modules/halo/machinery/pointbased_vendor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ GLOBAL_LIST_INIT(mobs_to_reqdatum,list())
for(var/datum/stored_items/vending_products/R in product_records)
qdel(R)
product_records = null
return ..()
. = ..()

/obj/machinery/pointbased_vending/ex_act(severity)
return

0 comments on commit 638de2a

Please sign in to comment.