mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 08:11:11 +01:00
Merge pull request #10052 from VOREStation/upstream-merge-8001
[MIRROR] Fixes runtime in prison_break.dm, line 214
This commit is contained in:
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user