Skip to content

Commit

Permalink
probably should unregister the old signal huh
Browse files Browse the repository at this point in the history
  • Loading branch information
Thera-Pissed committed Jun 8, 2024
1 parent b5c276d commit f9c33eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/machinery/shuttle/shuttle_engine_types.dm
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@
/obj/machinery/power/shuttle/engine/fire/proc/remove_heater(datum/source, disassembled)
SIGNAL_HANDLER

var/obj/machinery/atmospherics/components/unary/shuttle/fire_heater/resolved_heater = attached_heater?.resolve()
UnregisterSignal(resolved_heater, COMSIG_OBJ_DECONSTRUCT)
attached_heater = null

/obj/machinery/power/shuttle/engine/fire/RefreshParts()
Expand Down

0 comments on commit f9c33eb

Please sign in to comment.