From a0a2280f68abbedd4f486c3733da44e026a591b5 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Mon, 15 Jul 2024 06:35:22 +0200 Subject: [PATCH] [MIRROR] Fixes outfit manager harddel (#28845) * Fixes outfit manager harddel (#84930) ## About The Pull Request Closing outfit manager UI qdeled its static instance. Pretty bad. No reason to delete it either, datum doesn't store anything and is used purely for UI functionality. Closes #84856 ## Changelog :cl: admin: Outfit manager UI no longer harddels after closing and thus is usable more than once /:cl: * Fixes outfit manager harddel --------- Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com> --- code/modules/admin/outfit_manager.dm | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/modules/admin/outfit_manager.dm b/code/modules/admin/outfit_manager.dm index f3ef7d2685c..c5f14db8ae3 100644 --- a/code/modules/admin/outfit_manager.dm +++ b/code/modules/admin/outfit_manager.dm @@ -7,9 +7,6 @@ ADMIN_VERB(outfit_manager, R_DEBUG|R_ADMIN, "Outfit Manager", "View and edit out /datum/outfit_manager/ui_state(mob/user) return GLOB.admin_state -/datum/outfit_manager/ui_close(mob/user) - qdel(src) - /datum/outfit_manager/ui_interact(mob/user, datum/tgui/ui) ui = SStgui.try_update_ui(user, src, ui) if(!ui)