diff --git a/control.lua b/control.lua index f81c2dc..78d90f8 100755 --- a/control.lua +++ b/control.lua @@ -108,6 +108,9 @@ script.on_init(function(event) if ENABLE_BLUEPRINT_STRING then bps_init() end + + global.welcome_msg = WELCOME_MSG + global.welcome_msg_title = WELCOME_MSG_TITLE end) diff --git a/locale b/locale index e95ef46..5874af6 160000 --- a/locale +++ b/locale @@ -1 +1 @@ -Subproject commit e95ef4631ec6a12003b8f2f5ddc15275d260e627 +Subproject commit 5874af6484a19c757ef488c75a618aac57f1d936 diff --git a/separate_spawns_guis.lua b/separate_spawns_guis.lua index 4368c4a..2f904be 100755 --- a/separate_spawns_guis.lua +++ b/separate_spawns_guis.lua @@ -29,7 +29,7 @@ function DisplayWelcomeTextGui(player) player.gui.center.add{name = "welcome_msg", type = "frame", direction = "vertical", - caption=WELCOME_MSG_TITLE} + caption=global.welcome_msg_title} local wGui = player.gui.center.welcome_msg wGui.style.maximal_width = SPAWN_GUI_MAX_WIDTH