make interface key not lowercased/no wrapper proc

This commit is contained in:
actioninja
2020-04-19 19:36:40 +03:00
committed by Aleksej Komarov
parent 2488d67790
commit fc55b6adda
+2 -12
View File
@@ -69,7 +69,7 @@
src.window_id = browser_id ? browser_id : "[REF(src_object)]-[ui_key]" // DO NOT replace with \ref here. src_object could potentially be tagged
src.custom_browser_id = browser_id ? TRUE : FALSE
set_interface(interface)
src.interface = interface
if(title)
src.title = sanitize(title)
@@ -149,7 +149,7 @@
**/
/datum/tgui/proc/reinitialize(interface, list/data, list/static_data)
if(interface)
set_interface(interface) // Set a new interface.
src.interface = interface
if(data)
initial_data = data
if(static_data)
@@ -182,16 +182,6 @@
/datum/tgui/proc/set_style(style)
src.style = lowertext(style)
/**
* public
*
* Set the interface (template) for this UI.
*
* required interface string The new UI interface.
**/
/datum/tgui/proc/set_interface(interface)
src.interface = lowertext(interface)
/**
* public
*