diff options
Diffstat (limited to 'builtin/common/misc_helpers.lua')
-rw-r--r-- | builtin/common/misc_helpers.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua index 467f18804..720df3998 100644 --- a/builtin/common/misc_helpers.lua +++ b/builtin/common/misc_helpers.lua @@ -519,18 +519,6 @@ end -------------------------------------------------------------------------------- -- mainmenu only functions -------------------------------------------------------------------------------- -if INIT == "mainmenu" then - function core.get_game(index) - local games = core.get_games() - - if index > 0 and index <= #games then - return games[index] - end - - return nil - end -end - if core.gettext then -- for client and mainmenu function fgettext_ne(text, ...) text = core.gettext(text) |