disable on battle maps

This commit is contained in:
Not 2022-07-08 19:58:34 +02:00
parent 4f138797a9
commit 5a74a428b1

View File

@ -330,7 +330,7 @@ local function initLeaderboard(player)
else
disable = disable or not singleplayer()
end
disable = $ or not cv_enable.value
disable = $ or not cv_enable.value or not (maptol & (TOL_SP | TOL_RACE))
-- Restore encore mode to initial value
if disable and EncoreInitial != nil then