Lua loaded records #9

Merged
Not merged 21 commits from partition into master 2022-12-06 18:05:51 +00:00
Showing only changes of commit 5d59f6c6fc - Show all commits

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