mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
GC driving me insane (#8305)
This commit is contained in:
@@ -99,6 +99,11 @@
|
||||
return parent.return_network(reference)
|
||||
|
||||
/obj/machinery/atmospherics/pipe/Destroy()
|
||||
//CHOMPEdit Begin
|
||||
if(parent)
|
||||
parent.members -= src
|
||||
parent.edges -= src
|
||||
//CHOMPEdit End
|
||||
QDEL_NULL(parent)
|
||||
if(air_temporary)
|
||||
loc.assume_air(air_temporary)
|
||||
|
||||
11
code/ATMOSPHERICS/pipes/pipe_base_ch.dm
Normal file
11
code/ATMOSPHERICS/pipes/pipe_base_ch.dm
Normal file
@@ -0,0 +1,11 @@
|
||||
/obj/machinery/atmospherics/pipe/return_air()
|
||||
if(!QDELETED(src)) return ..()
|
||||
|
||||
/obj/machinery/atmospherics/pipe/build_network()
|
||||
if(!QDELETED(src)) return ..()
|
||||
|
||||
/obj/machinery/atmospherics/pipe/network_expand(datum/pipe_network/new_network, obj/machinery/atmospherics/pipe/reference)
|
||||
if(!QDELETED(src)) return ..(new_network,reference)
|
||||
|
||||
/obj/machinery/atmospherics/pipe/return_network(obj/machinery/atmospherics/reference)
|
||||
if(!QDELETED(src)) return ..(reference)
|
||||
Reference in New Issue
Block a user