From b6824fd76c94054df28faab161da995a36d60bc6 Mon Sep 17 00:00:00 2001 From: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Date: Sun, 16 Oct 2022 06:39:33 -0500 Subject: [PATCH] Fixes `null` thrower runtime with plant backfire element (#70540) Fixes null thrower runtime --- code/datums/elements/plant_backfire.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/elements/plant_backfire.dm b/code/datums/elements/plant_backfire.dm index b9a2000ffe4..37887dc5d60 100644 --- a/code/datums/elements/plant_backfire.dm +++ b/code/datums/elements/plant_backfire.dm @@ -67,7 +67,7 @@ SIGNAL_HANDLER var/mob/living/thrower = arguments[4] // the 4th arg = the mob throwing our item - if(!thrower.is_holding(source)) + if(!istype(thrower) || !thrower.is_holding(source)) return if(!backfire(source, thrower)) return