Skip to content

Commit

Permalink
only count taps for the nps counter (and not mines)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Sep 17, 2017
1 parent 4279a10 commit 42207be
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,7 @@ local function npsDisplay(pn)
local chordsize = 0

if params.Player == pn then
if params.TapNoteScore and params.TapNoteScore ~= 'TapNoteScore_HitMine' or
params.TapNoteScore ~= 'TapNoteScore_AvoidMine' then
if params.Type == "Tap" then
-- The notes parameter contains a table where the table indices
-- correspond to the columns in game.
-- The items in the table either contains a TapNote object (if there is a note)
Expand Down

0 comments on commit 42207be

Please sign in to comment.