Skip to content

Commit

Permalink
Add the parentheses.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Aug 8, 2022
1 parent 12690af commit e3a101c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ protected override void CheckForResult(bool userTriggered, double timeOffset)
public bool OnPressed(KeyBindingPressEvent<KaraokeScoringAction> e)
{
// Make sure the action happened within the body of the hold note
if (Time.Current < HitObject.StartTime && holdStartTime == null || Time.Current > HitObject.EndTime && holdStartTime == null)
if ((Time.Current < HitObject.StartTime && holdStartTime == null) || (Time.Current > HitObject.EndTime && holdStartTime == null))
return false;

if (holdStartTime == null)
Expand Down

0 comments on commit e3a101c

Please sign in to comment.