Replaced last occurences of gc_destroyed by qdeleted().

This commit is contained in:
Menshin
2016-03-05 01:58:56 +01:00
parent 4b683584c8
commit 9afe050025
29 changed files with 35 additions and 35 deletions
@@ -161,7 +161,7 @@
A.unbolt()
spawn()
if(A && A.close())
if(stat & NOPOWER || lostPower || !A || A.gc_destroyed)
if(stat & NOPOWER || lostPower || !A || qdeleted(A))
goIdle(1)
return
A.bolt()
@@ -207,7 +207,7 @@
A.unbolt()
spawn()
if(A && A.open())
if(stat | (NOPOWER) && !lostPower && A && !A.gc_destroyed)
if(stat | (NOPOWER) && !lostPower && A && !qdeleted(A))
A.bolt()
goIdle(1)