Adds a ui_key arg to ui_data

This commit is contained in:
Crazylemon64
2016-12-31 12:51:07 -08:00
parent 6ea4788cb7
commit f954382619
66 changed files with 104 additions and 104 deletions
@@ -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