mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Merge pull request #3598 from zylowalsh/Door_Control-Fix
Update door_control.dm
This commit is contained in:
@@ -80,12 +80,16 @@
|
||||
if(normaldoorcontrol)
|
||||
for(var/obj/machinery/door/airlock/D in range(range))
|
||||
if(D.id_tag == src.id)
|
||||
if(specialfunctions & OPEN)
|
||||
if (D.density)
|
||||
spawn(0)
|
||||
D.open()
|
||||
return
|
||||
else
|
||||
spawn(0)
|
||||
D.close()
|
||||
return
|
||||
if(desiredstate == 1)
|
||||
if(specialfunctions & OPEN)
|
||||
if (D.density)
|
||||
spawn( 0 )
|
||||
D.open()
|
||||
return
|
||||
if(specialfunctions & IDSCAN)
|
||||
D.aiDisabledIdScanner = 1
|
||||
if(specialfunctions & BOLTS)
|
||||
@@ -95,13 +99,7 @@
|
||||
D.secondsElectrified = -1
|
||||
if(specialfunctions & SAFE)
|
||||
D.safe = 0
|
||||
|
||||
else
|
||||
if(specialfunctions & OPEN)
|
||||
if (!D.density)
|
||||
spawn( 0 )
|
||||
D.close()
|
||||
return
|
||||
if(specialfunctions & IDSCAN)
|
||||
D.aiDisabledIdScanner = 0
|
||||
if(specialfunctions & BOLTS)
|
||||
@@ -186,4 +184,4 @@
|
||||
icon_state = "launcherbtt"
|
||||
active = 0
|
||||
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user