mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-31 03:22:08 +00:00
* Prevents possessed blade spirits and similar entities from being created in a destroyed parent item (#76978) ## About The Pull Request Activating any item with a `spirit_holder` component to poll for a new spirit, then destroying the item before the poll process is completed would create the spirit in nullspace, which would then dump them to the error room. These spirits are in GODMODE by default, but are usually contained within an item. See the issue? This PR makes the spirit creation process check for whether the parent item was deleted or not before actually creating the spirit. If the summoning item was destroyed, the would-be spirit will get a message about it so they can brag about it in deadchat ## Why It's Good For The Game Fixes #61935 ## Changelog 🆑 fix: fixed possessed sword spirits summoned during destruction of the sword spawning in the error room. those fellas are in godmode, and y'all don't need an immortal spirit haunting your station, m'kay? /🆑 * Prevents possessed blade spirits and similar entities from being created in a destroyed parent item --------- Co-authored-by: Sealed101 <cool.bullseye@yandex.ru>