disable debugging command

This commit is contained in:
Not 2022-10-07 01:50:30 +02:00
parent 3a61ffcabd
commit 5d59f6c6fc
1 changed files with 6 additions and 6 deletions

View File

@ -1184,12 +1184,12 @@ local function saveTime(player)
end end
-- DEBUGGING -- DEBUGGING
local function saveLeaderboard(player, ...) --local function saveLeaderboard(player, ...)
timeFinished = tonumber(... or player.realtime) -- timeFinished = tonumber(... or player.realtime)
splits = {1000, 2000, 3000} -- splits = {1000, 2000, 3000}
saveTime(player) -- saveTime(player)
end --end
COM_AddCommand("save", saveLeaderboard) --COM_AddCommand("save", saveLeaderboard)
local function regLap(player) local function regLap(player)
if player.laps > prevLap and timeFinished == 0 then if player.laps > prevLap and timeFinished == 0 then