Skip to content

Throw exceptions when qdeling non-datums#590

Open
Absolucy wants to merge 4 commits intoPentestSS13:masterfrom
Absolucy:dont-qdel-that
Open

Throw exceptions when qdeling non-datums#590
Absolucy wants to merge 4 commits intoPentestSS13:masterfrom
Absolucy:dont-qdel-that

Conversation

@Absolucy
Copy link
Contributor

@Absolucy Absolucy commented Feb 25, 2026

About The Pull Request

Ports tgstation/tgstation#90227 and DaedalusDock/daedalusdock#1289

This makes it so passing something that isn't a datum to qdel will throw a runtime error, as passing non-datums to qdel results in immediate, un-queued hard deletes, as seen in a tracy profile of this issue occuring on another codebase:
image

Why It's Good For The Game

Reduces the amount of hard deletes, and unneeded code in general.

Changelog

No player-facing changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant