Adds UI dimension vars to machinery (#45959)

* Adds dimension var to machinery.

* cleaner

* newlines

* Cleanup
This commit is contained in:
skoglol
2019-08-22 09:33:10 +02:00
committed by Rob Bailey
parent 91f0b52d4f
commit 8e6276d450
61 changed files with 244 additions and 81 deletions
+4 -2
View File
@@ -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()