Puts multi instance stuff behind a define (#23666)

This commit is contained in:
AffectedArc07
2024-01-14 12:29:12 +00:00
committed by GitHub
parent 9d4a2e4f8b
commit 223d980e02
9 changed files with 18 additions and 93 deletions
+4
View File
@@ -335,8 +335,10 @@
if(length(related_accounts_cid))
log_admin("[key_name(src)] Alts by CID: [jointext(related_accounts_cid, " ")]")
#ifdef MULTIINSTANCE
// This sleeps so it has to go here. Dont fucking move it.
SSinstancing.update_playercache(ckey)
#endif
// This has to go here to avoid issues
// If you sleep past this point, you will get SSinput errors as well as goonchat errors
@@ -462,7 +464,9 @@
GLOB.directory -= ckey
GLOB.clients -= src
#ifdef MULTIINSTANCE
SSinstancing.update_playercache() // Clear us out
#endif
QDEL_NULL(chatOutput)
QDEL_NULL(pai_save)