[MIRROR] (Partially) Fixes Out Of Memory crashes (#10092)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-02-07 16:36:42 +01:00
committed by GitHub
co-authored by Cameron Lennox Kashargul
parent 133f37de97
commit ec71611656
31 changed files with 124 additions and 67 deletions
+2
View File
@@ -315,6 +315,8 @@ var/list/preferences_datums = list()
else if(href_list["close"])
// User closed preferences window, cleanup anything we need to.
clear_character_previews()
if(GLOB.mannequins[client_ckey])
qdel_null(GLOB.mannequins[client_ckey])
return 1
else
return 0