mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-26 10:03:45 +00:00
Fixes runtime in prison_break.dm, line 214
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user