typecheck.

This commit is contained in:
Ghommie
2020-02-06 02:17:51 +01:00
parent a3e2ec372f
commit 60b6d96f45
@@ -144,7 +144,7 @@
/obj/item/projectile/temp/basilisk/icewing/on_hit(atom/target, blocked = FALSE)
. = ..()
if(.)
if(. && isliving(target))
var/mob/living/L = target
L.apply_status_effect(/datum/status_effect/freon/watcher)