mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Give subgames the ability to disallow specific mapgens (#6792)
This commit is contained in:
parent
770eb09adc
commit
649eef9e4f
3 changed files with 47 additions and 15 deletions
|
@ -551,7 +551,7 @@ end
|
|||
--------------------------------------------------------------------------------
|
||||
if INIT == "mainmenu" then
|
||||
function core.get_game(index)
|
||||
local games = game.get_games()
|
||||
local games = core.get_games()
|
||||
|
||||
if index > 0 and index <= #games then
|
||||
return games[index]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue