From c097209fa5b445aa4ce18db587b59c99f6c16dcc Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:58:07 +0100 Subject: [PATCH] [MIRROR] [s]Fix exploit that allows players to close every single tgui window for all players [MDB IGNORE] (#25970) * [s]Fix exploit that allows players to close every single tgui window for all players (#80768) Fixes #80767 * [s]Fix exploit that allows players to close every single tgui window for all players --------- Co-authored-by: Kyle Spier-Swenson --- .../modules/reagents/chemistry/machinery/portable_chem_mixer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/reagents/chemistry/machinery/portable_chem_mixer.dm b/code/modules/reagents/chemistry/machinery/portable_chem_mixer.dm index bdc008ce336..9ad8e3ecfc5 100644 --- a/code/modules/reagents/chemistry/machinery/portable_chem_mixer.dm +++ b/code/modules/reagents/chemistry/machinery/portable_chem_mixer.dm @@ -103,7 +103,7 @@ if(atom_storage.locked == STORAGE_FULLY_LOCKED) atom_storage.locked = STORAGE_NOT_LOCKED replace_beaker(user) - SStgui.close_all_uis() + SStgui.close_uis(src) else atom_storage.locked = STORAGE_FULLY_LOCKED atom_storage.hide_contents(usr)