mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Forces new uplink NanoUIs to start at category menu, avoids grayed out options.
This commit is contained in:
@@ -98,6 +98,7 @@ A list of items and costs is stored under the datum of every game mode, alongsid
|
|||||||
ui = nanomanager.try_update_ui(user, src, ui_key, ui, data, force_open)
|
ui = nanomanager.try_update_ui(user, src, ui_key, ui, data, force_open)
|
||||||
if (!ui) // No auto-refresh
|
if (!ui) // No auto-refresh
|
||||||
ui = new(user, src, ui_key, "uplink.tmpl", title, 450, 600, state = inventory_state)
|
ui = new(user, src, ui_key, "uplink.tmpl", title, 450, 600, state = inventory_state)
|
||||||
|
data["menu"] = 0
|
||||||
ui.set_initial_data(data)
|
ui.set_initial_data(data)
|
||||||
ui.open()
|
ui.open()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user