mirror of
https://github.com/minetest/minetest.git
synced 2025-06-30 23:20:22 +02:00
Fix main menu tab titles being cached
This commit is contained in:
@ -116,7 +116,9 @@ end
|
||||
|
||||
return {
|
||||
name = "about",
|
||||
caption = fgettext("About"),
|
||||
caption = function()
|
||||
return fgettext("About")
|
||||
end,
|
||||
|
||||
cbf_formspec = function(tabview, name, tabdata)
|
||||
local logofile = defaulttexturedir .. "logo.png"
|
||||
|
@ -459,7 +459,9 @@ end
|
||||
--------------------------------------------------------------------------------
|
||||
return {
|
||||
name = "local",
|
||||
caption = fgettext("Start Game"),
|
||||
caption = function()
|
||||
return fgettext("Start Game")
|
||||
end ,
|
||||
cbf_formspec = get_formspec,
|
||||
cbf_button_handler = main_button_handler,
|
||||
on_change = on_change
|
||||
|
@ -425,7 +425,9 @@ end
|
||||
|
||||
return {
|
||||
name = "online",
|
||||
caption = fgettext("Join Game"),
|
||||
caption = function()
|
||||
return fgettext("Join Game")
|
||||
end,
|
||||
cbf_formspec = get_formspec,
|
||||
cbf_button_handler = main_button_handler,
|
||||
on_change = on_change
|
||||
|
Reference in New Issue
Block a user