Merge pull request #4112 from Citadel-Station-13/upstream-merge-32985
[MIRROR] Fixes AIs being unable to interact with unscrewed airlocks
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
max_integrity = 200
|
||||
integrity_failure = 50
|
||||
resistance_flags = FIRE_PROOF
|
||||
interact_open = TRUE
|
||||
|
||||
var/lon_range = 1.5
|
||||
var/area/area
|
||||
@@ -657,7 +658,7 @@
|
||||
wires.interact(user)
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
/obj/machinery/power/apc/AltClick(mob/user)
|
||||
..()
|
||||
if(!issilicon(user) && (!user.canUseTopic(src, be_close=TRUE) || !isturf(loc)))
|
||||
@@ -665,7 +666,7 @@
|
||||
return
|
||||
else
|
||||
togglelock(user)
|
||||
|
||||
|
||||
/obj/machinery/power/apc/proc/togglelock(mob/living/user)
|
||||
if(emagged)
|
||||
to_chat(user, "<span class='warning'>The interface is broken!</span>")
|
||||
|
||||
Reference in New Issue
Block a user