Work on phasing out tgui collections.ts (#16987)

* Replace a bunch of sortBy with Array.sort()

* Fix styling

* a few less to go

* power monitor

* one less

* another one

* one less

* game prefs

* anyway this

* sort stackUI

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
ShadowLarkens
2025-02-03 01:14:14 -08:00
committed by GitHub
parent 8b460a08e4
commit da50eedefe
32 changed files with 296 additions and 267 deletions
+1 -1
View File
@@ -81,7 +81,7 @@
/obj/item/stack/tgui_interact(mob/user, datum/tgui/ui, datum/tgui/parent_ui)
ui = SStgui.try_update_ui(user, src, ui)
if(!ui)
ui = new(user, src, "Stack", name)
ui = new(user, src, "MaterialStack", name)
ui.open()
/obj/item/stack/tgui_data(mob/user, datum/tgui/ui, datum/tgui_state/state)