fix a bad typecast with collar element (#29261)

This commit is contained in:
warriorstar-orion
2025-05-08 02:57:16 +00:00
committed by GitHub
parent e621afbd1e
commit b07b2582fc
+1 -1
View File
@@ -55,7 +55,7 @@
SIGNAL_HANDLER // COMSIG_ATOM_EXITED
var/obj/item/petcollar/collar = moved
if(!istype(moved))
if(!istype(collar))
return
if(collar.tagname)