forked from Not/srb2k-leaderboard
don't allow retry on battlemaps
This commit is contained in:
parent
c150ed6be1
commit
c83dc1d070
@ -374,6 +374,12 @@ end
|
||||
|
||||
local function retry(player, ...)
|
||||
if doyoudare(player) then
|
||||
-- Verify valid race level
|
||||
if not (mapheaderinfo[gamemap].typeoflevel & (TOL_SP | TOL_RACE)) then
|
||||
CONS_Printf(player, "Battle maps are not supported")
|
||||
return
|
||||
end
|
||||
|
||||
-- Prevents bind crash
|
||||
if leveltime < 20 then
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user