mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 17:41:56 +00:00
Fix windoors playing a closed deny animation when open (#15427)
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
|
||||
/obj/machinery/door/window/allowed(mob/M)
|
||||
. = ..()
|
||||
if(inoperable()) // Unpowered windoors can just be slid open
|
||||
if(inoperable() || !density) // Unpowered windoors can just be slid open, open windoors can always be closed
|
||||
return TRUE
|
||||
use_power_oneoff(50) // Just powering the RFID and maybe a weak motor
|
||||
if(operable() && . == FALSE)
|
||||
|
||||
Reference in New Issue
Block a user