Files
Bubberstation/code/datums/components/jousting.dm
SkyratBot 79eb1d4131 [MIRROR] Jousting now unregisters the current holder [MDB IGNORE] (#22291)
* Jousting now unregisters the current holder (#76589)

## About The Pull Request

Fixes the args of on_equip and on_drop for active items
Picking an item up will unregister from the old user (in case it
transfers inventory)
Unregister's signal from current holder instead of whoever drops it. It
should be the same in each case but there may have some edge case where
on drop isn't called? This is more to just be safe.

## Why It's Good For The Game

Jousting won't runtime as much.

## Changelog

🆑
code: Jousting now registers/unregisters properly on two-handed items.
/🆑

* Jousting now unregisters the current holder

---------

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
2023-07-11 20:08:24 -04:00

5.4 KiB