-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port several tgui-related fixes from /tg/ (#2245)
* Fix several SHOULD_NOT_SLEEP hits in SStgui.update_uis() (#75411) There are several esoteric code paths that lead to `winexists` calls or sleeps in `ui_data`. This proc is meant to be a command without sleeping. See #75232  * Moves ui references from the tgui subsystem to datums themselves (#76215) ## About The Pull Request Unused vars have 0 memory cost, and the ref and list lookup here is REALLY expensive, for both init and foam spreading. ## Why It's Good For The Game Saves 0.2s off a station flood on meta, and 0.17s off init. More time in other qdel heavy areas Pulled off #76104 for the sake of cleanliness * Fixes some spurious runtimes in SStgui procs (#76251) ## About The Pull Request src_object is NOT guaranteed to be passed in. HHHHHHHHHHH Closes #76249 * Fixes tgui_open_uis tracking (#77101) Fixes tgstation/tgstation#77097 This breaks uis for everyone with fancy-tgui off and in cases where the window is closed by external action (byond closing it) which is pretty bad. --------- Co-authored-by: Jordan Dominion <Cyberboss@users.noreply.github.com> Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: AnturK <AnturK@users.noreply.github.com>
- Loading branch information
1 parent
137a65a
commit 4399d65
Showing
3 changed files
with
35 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters