Merge pull request #4159 from Citadel-Station-13/upstream-merge-33140
[MIRROR] Check door for (welded) upon closing
This commit is contained in:
@@ -255,12 +255,15 @@
|
||||
return 1
|
||||
if(operating)
|
||||
return
|
||||
if(welded)
|
||||
return
|
||||
if(safe)
|
||||
for(var/atom/movable/M in get_turf(src))
|
||||
if(M.density && M != src) //something is blocking the door
|
||||
if(autoclose)
|
||||
addtimer(CALLBACK(src, .proc/autoclose), 60)
|
||||
return
|
||||
|
||||
operating = TRUE
|
||||
|
||||
do_animate("closing")
|
||||
|
||||
Reference in New Issue
Block a user