From 8de5b1b214dc0a4f462e84d6ae9463dfa7871548 Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Wed, 3 Jan 2024 18:20:24 -0500 Subject: [PATCH] [MIRROR] [s]Fix exploit that allows players to close every single tgui window for all players (#284) * [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 Co-authored-by: NovaBot --- .../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)