Shield Generator Responsiveness (#10014)

This commit is contained in:
Geeves
2020-09-20 14:37:19 -03:00
committed by GitHub
parent 07592e3670
commit 172b34f23a
5 changed files with 312 additions and 327 deletions
@@ -410,7 +410,7 @@
else if (locate(/obj/machinery/shieldwallgen) in T)
var/obj/machinery/shieldwallgen/S = locate(/obj/machinery/shieldwallgen) in T
if (S && S.active)
if (S?.power_state)
return 0
return 1