v1.2.14
This commit is contained in:
parent
e68ab38262
commit
70cd579079
@ -432,7 +432,7 @@ local function lbComp(a, b)
|
||||
-- if s is negative then b is harder
|
||||
-- if s is 0 then compare time
|
||||
local s = (a["flags"] & (F_SPBEXP | F_SPBBIG)) - (b["flags"] & (F_SPBEXP | F_SPBBIG))
|
||||
return s > 0 or not(s < 0 or a["time"] > b["time"])
|
||||
return s > 0 or not(s < 0 or a["time"] >= b["time"])
|
||||
end
|
||||
|
||||
local function saveTime(player)
|
||||
@ -504,7 +504,7 @@ end
|
||||
|
||||
-- DEBUGGING
|
||||
--local function saveLeaderboard(player, ...)
|
||||
-- timeFinished = player.realtime
|
||||
-- timeFinished = tonumber(... or player.realtime)
|
||||
-- splits = {1000, 2000, 3000}
|
||||
-- saveTime(player)
|
||||
--end
|
||||
|
Loading…
Reference in New Issue
Block a user