Fixes TGUIs randomly closing. (#16828)

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-07-22 14:40:34 +02:00
committed by GitHub
parent 856b095593
commit a30646a8c7
2 changed files with 42 additions and 1 deletions

View File

@@ -31,7 +31,7 @@
return
anchored = !anchored
screen_on = anchored
SStgui.close_all_uis(src)
SStgui.close_uis(src)
update_icon()
/obj/item/modular_computer/laptop/update_icon()