Skip to content

Commit

Permalink
More accurate gameplay leaderboard combo
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram committed Oct 11, 2018
1 parent 7f0bb43 commit 10f5d13
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,7 @@ for i = 1, NUM_ENTRIES do
end

t.ComboChangedMessageCommand = function(self, params)
curScore.combo = params.OldCombo
-- Not sure if this is the right value to use
-- An alternative is
-- params.PlayerStageStats and params.PlayerStageStats:GetCurrentCombo() or params.OldCombo
curScore.combo = params.PlayerStageStats and params.PlayerStageStats:GetCurrentCombo() or params.OldCombo
end
t.JudgmentMessageCommand = function(self, params)
if curScore.jdgVals[params.Judgment] then
Expand Down

0 comments on commit 10f5d13

Please sign in to comment.