Fixing various issues. (#12368)

* Fixing various issues.

* Lights.
This commit is contained in:
Ghom
2020-05-28 09:36:57 +02:00
committed by GitHub
parent 8e945bca4d
commit cea958f822
7 changed files with 47 additions and 41 deletions
+2
View File
@@ -30,6 +30,7 @@
if(WIRE_POWER1, WIRE_POWER2) // Short for a long while.
if(!A.shorted)
A.shorted = TRUE
A.update()
addtimer(CALLBACK(A, /obj/machinery/power/apc.proc/reset, wire), 1200)
if(WIRE_IDSCAN) // Unlock for a little while.
A.locked = FALSE
@@ -49,6 +50,7 @@
else
A.shorted = TRUE
A.shock(usr, 50)
A.update()
if(WIRE_AI) // Disable AI control.
if(mend)
A.aidisabled = FALSE