Skip to content

Commit

Permalink
referencing 'snap' even if not Scatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakads committed Nov 17, 2019
1 parent 560f728 commit ea43408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mania.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def random(q, fn, path, content):
occsnaptime.append({
'col': randcol,
# Getting the ceil value just in case of an unsnapped note
'endms': n['ms'] + ceil(mpb / snap)
'endms': n['ms'] + ceil(mpb / snap) if Scatter else n['ms']
})

# if LN:
Expand Down

0 comments on commit ea43408

Please sign in to comment.