mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 11:36:24 +01:00
[MIRROR] Mark client as QDELING [MDB IGNORE] (#21331)
* Mark client as QDELING (#75576) Clients will now be marked QDELING while in the process of deleting. Necessary for #75445 * Mark client as QDELING --------- Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
@@ -538,6 +538,10 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
|
||||
|
||||
/client/Del()
|
||||
if(!gc_destroyed)
|
||||
gc_destroyed = world.time
|
||||
if (!QDELING(src))
|
||||
stack_trace("Client does not purport to be QDELING, this is going to cause bugs in other places!")
|
||||
|
||||
// Yes this is the same as what's found in qdel(). Yes it does need to be here
|
||||
// Get off my back
|
||||
SEND_SIGNAL(src, COMSIG_PARENT_QDELETING, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user