Fixes ghosts' boo ability going on cooldown when the light they tried to flicker didn't flick (#62965)

This commit is contained in:
ShizCalev
2021-11-23 17:58:43 -08:00
committed by GitHub
parent 47dd9557f3
commit e100f3ca8c
7 changed files with 13 additions and 12 deletions
+1
View File
@@ -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