Fix signal unregistration in grapple gun on hit (#94489)

## About The Pull Request

Changes the unregistering of COMSIG_PROJECTILE_ON_HIT to
COMSIG_PROJECTILE_SELF_ON_HIT because COMSIG_PROJECTILE_ON_HIT isn't
used anywhere in grapple code but COMSIG_PROJECTILE_SELF_ON_HIT is.

See lines 70 and 71 for what I mean.

## Why It's Good For The Game

Fixes good.

## Changelog

🆑 BurgerBB
fix: Fix signal unregistration in grapple gun on hit.
/🆑
This commit is contained in:
BurgerLUA
2025-12-16 19:00:08 -08:00
committed by GitHub
parent 65dc73738c
commit bc60e4e079
+1 -1
View File
@@ -84,7 +84,7 @@
/obj/item/grapple_gun/proc/on_grapple_hit(datum/source, atom/movable/firer, atom/target, Angle)
SIGNAL_HANDLER
UnregisterSignal(source, list(COMSIG_PROJECTILE_ON_HIT, COMSIG_PREQDELETED))
UnregisterSignal(source, list(COMSIG_PROJECTILE_SELF_ON_HIT, COMSIG_PREQDELETED))
QDEL_NULL(zipline)
var/mob/living/user = zipliner?.resolve()
if(isnull(user) || isnull(target))