Add level selector / leaderboard browser #7

Merged
Not merged 23 commits from browser into master 2022-09-06 10:08:42 +02:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 407d65b44d - Show all commits

View File

@ -402,6 +402,11 @@ local BrowserController
local function initBrowser(player)
if not doyoudare(player) then return end
-- TODO: allow in battle
if mapheaderinfo[gamemap].typeoflevel & TOL_MATCH then
CONS_Printf(player, "Please exit battle first")
return
end
if not DrawBrowser then
DrawBrowser = rawget(_G, "DrawBrowser")
if not DrawBrowser then