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 -2
View File
@@ -174,8 +174,7 @@
step(src, dir)
if(65 to 70)
var/obj/machinery/light/L = locate(/obj/machinery/light) in view(4, src)
if(L)
L.flicker()
L?.flicker()
if(62 to 64)
playsound(loc,pick('sound/hallucinations/i_see_you1.ogg', 'sound/hallucinations/i_see_you2.ogg'), 50, TRUE, ignore_walls = FALSE)
if(61)