diff options
author | Ezhh <owlecho@live.com> | 2017-12-16 16:02:08 +0000 |
---|---|---|
committer | SmallJoker <SmallJoker@users.noreply.github.com> | 2017-12-16 17:02:08 +0100 |
commit | 649eef9e4fe4ef6a59ca9f59c900c6e0900cfb3a (patch) | |
tree | b600d8811b5a79ba509461665b418da42552e353 /builtin/common | |
parent | 770eb09adcca5e8d7b1d3b441a130fb9338759e2 (diff) | |
download | minetest-649eef9e4fe4ef6a59ca9f59c900c6e0900cfb3a.tar.gz minetest-649eef9e4fe4ef6a59ca9f59c900c6e0900cfb3a.tar.bz2 minetest-649eef9e4fe4ef6a59ca9f59c900c6e0900cfb3a.zip |
Give subgames the ability to disallow specific mapgens (#6792)
Diffstat (limited to 'builtin/common')
-rw-r--r-- | builtin/common/misc_helpers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua index 01237f265..baa9be268 100644 --- a/builtin/common/misc_helpers.lua +++ b/builtin/common/misc_helpers.lua @@ -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] |