Merge pull request #33140 from Wad67/master
Check door for (welded) upon closing
This commit is contained in:
committed by
CitadelStationBot
parent
e0aaed6d3b
commit
89d3e37e1a
@@ -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