mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Adds a ui_key arg to ui_data
This commit is contained in:
@@ -58,7 +58,7 @@ var/global/list/default_pai_software = list()
|
||||
ui.open()
|
||||
ui.set_auto_update(1)
|
||||
|
||||
/mob/living/silicon/pai/ui_data(mob/user, datum/topic_state/state = self_state)
|
||||
/mob/living/silicon/pai/ui_data(mob/user, ui_key = "main", datum/topic_state/state = self_state)
|
||||
var/data[0]
|
||||
|
||||
// Software we have bought
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
// Vars for pAI nanoUI handling
|
||||
var/autoupdate = 0
|
||||
var/template_file = ""
|
||||
var/template_file = "oops"
|
||||
var/ui_title = "somebody forgot to set this"
|
||||
var/ui_width = 450
|
||||
var/ui_height = 600
|
||||
|
||||
Reference in New Issue
Block a user