mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2024-12-12 10:13:58 +02:00
Fixing desync issue due to local var issue.
This commit is contained in:
parent
c92c97a6ed
commit
796f33c557
@ -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)
|
||||
|
||||
|
||||
|
2
locale
2
locale
@ -1 +1 @@
|
||||
Subproject commit e95ef4631ec6a12003b8f2f5ddc15275d260e627
|
||||
Subproject commit 5874af6484a19c757ef488c75a618aac57f1d936
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user