Files
Bubberstation/code/modules/fishing
Bloop 8077108012 Fixes being able to fish up qdeleted spawners (#80646)
## About The Pull Request

Fixes https://github.com/NovaSector/NovaSector/issues/152

This is mostly a downstream issue, I think, but should a spawner ever
get added to the fish tables here this bug will be present.
Basically spawners, when created, do their item spawning behavior on the
src loc and then immediately qdel themselves.

If you try to forceMove() the spawners out of nullspace, like what was
happening with fishing, you'd end up with an unmovable broken item that
cannot be easily admin deleted.

This PR also adds a stack_trace when you forceMove() a qdeleted spawner,
because this is not the first time I've seen this issue come up. It
doesn't stop it from happening, though, because it's easier to visually
see the bug that way. This just provides some useful feedback as to why
the bug is happening should you check the debug logs.

## Why It's Good For The Game

Fixes a bug

## Changelog

🆑
fix: fishing up a spawner will now give you the spawned item instead of
a broken, undeletable spawner object
code: adds a warning to the stack trace when something tries to
forceMove() a qdeleted spawner
/🆑
2023-12-30 04:07:44 +01:00
..
2023-12-09 13:31:50 +01:00