From 649eef9e4fe4ef6a59ca9f59c900c6e0900cfb3a Mon Sep 17 00:00:00 2001 From: Ezhh Date: Sat, 16 Dec 2017 16:02:08 +0000 Subject: Give subgames the ability to disallow specific mapgens (#6792) --- builtin/common/misc_helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin/common') 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] -- cgit v1.2.3