Add level selector / leaderboard browser #7
@ -402,6 +402,11 @@ local BrowserController
|
|||||||
local function initBrowser(player)
|
local function initBrowser(player)
|
||||||
if not doyoudare(player) then return end
|
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
|
if not DrawBrowser then
|
||||||
DrawBrowser = rawget(_G, "DrawBrowser")
|
DrawBrowser = rawget(_G, "DrawBrowser")
|
||||||
if not DrawBrowser then
|
if not DrawBrowser then
|
||||||
|
Loading…
Reference in New Issue
Block a user