fixes safe runtime upon deletion

This commit is contained in:
Birdtalon
2018-11-18 16:40:39 +00:00
parent 7cff5db998
commit 0a115cbcc3
+3 -2
View File
@@ -312,8 +312,9 @@ GLOBAL_LIST_EMPTY(safes)
/obj/structure/safe/Destroy()
GLOB.safes -= src
drill.soundloop.stop()
return ..()
if(drill?.soundloop)
drill.soundloop.stop()
..()
/obj/structure/safe/process()
if(drill_timer)