Fixes a few more runtimes.

This commit is contained in:
Heroman
2022-09-16 08:40:34 +10:00
parent 607d730743
commit 6b525c8c6c
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -64,7 +64,7 @@
var/obj/machinery/power/apc/theAPC = null
for(var/area/A in areas)
theAPC = A.get_apc()
if(theAPC.operating) //If the apc's off, it's a little hard to overload the lights.
if(theAPC && theAPC.operating) //If the apc's off, it's a little hard to overload the lights.
for(var/obj/machinery/light/L in A)
L.flicker(10)