Skip to content

Commit

Permalink
Fix wildly wrong values in gameplay leaderboard update
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Oct 8, 2018
1 parent d87cc54 commit 50342c1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ for i = 1, NUM_ENTRIES do
end

t.JudgmentMessageCommand = function(self, params)
curScore.curWifeScore = params.CurWifeScore
-- params.curWifeScore retrieves the Judgment Message curWifeScore which is a raw number for calculations; very large
-- the online highscore curWifeScore is the wife percent...
-- params.WifePercent is our current calculated wife percent.
curScore.curWifeScore = notShit.floor(params.WifePercent * 100) / 10000
table.sort(scoreboard, sortFunction)
for i, entry in ipairs(entryActors) do
for name, label in pairs(entry) do
Expand Down

0 comments on commit 50342c1

Please sign in to comment.