Lua loaded records #9
@ -1197,12 +1197,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
|
||||
|
Loading…
Reference in New Issue
Block a user