mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 12:08:55 +01:00
Fixes ghosts' boo ability going on cooldown when the light they tried to flicker didn't flick (#62965)
This commit is contained in:
@@ -1497,7 +1497,6 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/power/apc/auto_name, APC_PIXEL_OFFSET
|
||||
for(var/obj/machinery/light/L in area)
|
||||
L.on = TRUE
|
||||
L.break_light_tube()
|
||||
L.on = FALSE
|
||||
stoplag()
|
||||
|
||||
/obj/machinery/power/apc/proc/shock(mob/user, prb)
|
||||
|
||||
@@ -414,6 +414,7 @@
|
||||
sleep(rand(5, 15))
|
||||
on = (status == LIGHT_OK)
|
||||
update(FALSE)
|
||||
. = TRUE //did we actually flicker?
|
||||
flickering = FALSE
|
||||
|
||||
// ai attack - make lights flicker, because why not
|
||||
|
||||
Reference in New Issue
Block a user