fixes a potential runtime if parent is null

This commit is contained in:
duncathan
2015-09-05 00:48:54 -06:00
parent 9c0ce24aea
commit 4a871c0fdd
+1 -1
View File
@@ -89,7 +89,7 @@
qdel(meter)
. = ..()
if(!parent.gc_destroyed)
if(parent && !parent.gc_destroyed)
qdel(parent)
parent = null