mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-28 02:52:01 +00:00
Code clean up, makes use of states PROPERLY (#12831)
* Code clean up, makes use of states PROPERLY * I forgot how to new * Fix * Changelog * 7th vueui arg is data. * Adds check if topic is proxied by vueui * Admin topic state refactor Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
var/datum/vueui/ui = SSvueui.get_open_ui(user, src)
|
||||
if(!ui)
|
||||
ui = new(user, src, "admin-permissions-panel", 800, 600, "Permissions panel", state = interactive_state)
|
||||
ui = new(user, src, "admin-permissions-panel", 800, 600, "Permissions panel", state = admin_state)
|
||||
ui.header = "minimal"
|
||||
ui.data = vueui_data_change(list(), user, ui)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user