mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
gcDestroyed fixes
This commit is contained in:
@@ -161,7 +161,7 @@ Pipelines + Other Objects -> Pipe network
|
||||
user << "<span class='warning'>As you begin unwrenching \the [src] a gush of air blows in your face... maybe you should reconsider?</span>"
|
||||
unsafe_wrenching = TRUE //Oh dear oh dear
|
||||
|
||||
if (do_after(user, 40, target = src) && !gcDestroyed)
|
||||
if (do_after(user, 40, target = src) && isnull(gcDestroyed))
|
||||
user.visible_message( \
|
||||
"[user] unfastens \the [src].", \
|
||||
"<span class='notice'>You have unfastened \the [src].</span>", \
|
||||
@@ -306,4 +306,5 @@ Pipelines + Other Objects -> Pipe network
|
||||
|
||||
/obj/machinery/atmospherics/singularity_pull(S, current_size)
|
||||
if(current_size >= STAGE_FIVE)
|
||||
Deconstruct()
|
||||
Deconstruct()
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
qdel(meter)
|
||||
. = ..()
|
||||
|
||||
if(parent && !parent.gcDestroyed)
|
||||
if(parent && isnull(parent.gcDestroyed))
|
||||
qdel(parent)
|
||||
parent = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user