1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 20:07:29 +08:00

Make || and && priority explicit

This commit is contained in:
Naxess 2021-06-26 20:44:39 +02:00
parent 82b64f5589
commit 51147405c5

View File

@ -86,7 +86,7 @@ namespace osu.Game.Rulesets.Edit.Checks
// Only generating issues on hitsounded or last objects ensures we get one issue per long period.
// If there are no hitsounds we let the "No hitsounds" template take precedence.
if (hasHitsound(hitObject) || isLastObject && hasHitsounds)
if (hasHitsound(hitObject) || (isLastObject && hasHitsounds))
{
var timeWithoutHitsounds = time - lastHitsoundTime;