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
-- DEBUGGING
local function saveLeaderboard(player, ...)
timeFinished = tonumber(... or player.realtime)
splits = {1000, 2000, 3000}
saveTime(player)
end
COM_AddCommand("save", saveLeaderboard)
--local function saveLeaderboard(player, ...)
-- timeFinished = tonumber(... or player.realtime)
-- splits = {1000, 2000, 3000}
-- saveTime(player)
--end
--COM_AddCommand("save", saveLeaderboard)
local function regLap(player)
if player.laps > prevLap and timeFinished == 0 then