mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
fixes a potential runtime if parent is null
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
qdel(meter)
|
||||
. = ..()
|
||||
|
||||
if(!parent.gc_destroyed)
|
||||
if(parent && !parent.gc_destroyed)
|
||||
qdel(parent)
|
||||
parent = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user