[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 <kyleshome@gmail.com>
This commit is contained in:
SkyratBot
2024-01-04 16:58:07 +00:00
committed by GitHub
co-authored by Kyle Spier-Swenson
parent efc8b9ff39
commit c097209fa5
@@ -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)