Update mainmenu/init.lua
This commit is contained in:
parent
e4bea7c082
commit
3842087493
1 changed files with 7 additions and 3 deletions
|
|
@ -1674,11 +1674,15 @@ minetest.set_clouds(false)
|
||||||
|
|
||||||
if last_game then
|
if last_game then
|
||||||
state.current_game = get_game_info(last_game)
|
state.current_game = get_game_info(last_game)
|
||||||
|
if state.current_game then
|
||||||
state.menu_current = {"main"}
|
state.menu_current = {"main"}
|
||||||
state.loc = "game"
|
state.loc = "game"
|
||||||
show_game_menu()
|
show_game_menu()
|
||||||
else
|
else
|
||||||
show_meta_menu()
|
show_meta_menu()
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
show_meta_menu()
|
||||||
|
end
|
||||||
|
|
||||||
--]]
|
--]]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue