Merge pull request #10052 from VOREStation/upstream-merge-8001

[MIRROR] Fixes runtime in prison_break.dm, line 214
This commit is contained in:
Novacat
2021-03-31 09:13:17 +00:00
committed by Chompstation Bot
parent b9581e43cf
commit 21bce86db4
@@ -211,7 +211,7 @@
/datum/event2/event/prison_break/proc/flicker_area()
for(var/area/A in areas_to_break)
var/obj/machinery/power/apc/apc = A.get_apc()
if(apc.operating) //If the apc's off, it's a little hard to overload the lights.
if(istype(apc) && apc.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)