Fixes null thrower runtime with plant backfire element (#70540)

Fixes null thrower runtime
This commit is contained in:
MrMelbert
2022-10-16 06:39:33 -05:00
committed by GitHub
parent 0ed063aa8a
commit b6824fd76c
+1 -1
View File
@@ -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