mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 17:45:02 +01:00
Adds UI dimension vars to machinery (#45959)
* Adds dimension var to machinery. * cleaner * newlines * Cleanup
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
desc = "For shuttle control."
|
||||
icon_screen = "shuttle"
|
||||
icon_keyboard = "tech_key"
|
||||
ui_x = 400
|
||||
ui_y = 400
|
||||
|
||||
var/auth_need = 3
|
||||
var/list/authorized = list()
|
||||
|
||||
@@ -20,8 +23,7 @@
|
||||
|
||||
ui = SStgui.try_update_ui(user, src, ui_key, ui, force_open)
|
||||
if(!ui)
|
||||
ui = new(user, src, ui_key, "emergency_shuttle_console", name,
|
||||
400, 400, master_ui, state)
|
||||
ui = new(user, src, ui_key, "emergency_shuttle_console", name, ui_x, ui_y, master_ui, state)
|
||||
ui.open()
|
||||
|
||||
/obj/machinery/computer/emergency_shuttle/ui_data()
|
||||
|
||||
Reference in New Issue
Block a user