fixes a acid dreams runtime (#20441)

This commit is contained in:
GDN
2023-02-21 15:03:20 -06:00
committed by GitHub
parent 47e002380c
commit 420827ca76
@@ -1669,8 +1669,8 @@
if(L.is_dead() || !L.client) //we don't care about dead mobs
continue
targets += L
var/mob/living/target = pick(targets)
if(target)
if(length(targets))
var/mob/living/target = pick(targets)
to_chat(target, "<span class='warning'>You feel that [M.name] is somewhere near.</span>")
return ..()