Skip to content

Commit

Permalink
Merge pull request #163 from smoogipoo/nightcore-score-pp
Browse files Browse the repository at this point in the history
Explicitly specify NC/DC as mods valid for PP
  • Loading branch information
peppy authored Oct 20, 2023
2 parents c43ad21 + fbfb96d commit 9ffefcb
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,27 @@ public static bool AllModsValidForPerformance(Mod[] mods)
case ManiaModKey10:
return false;

case ModNightcore nc:
// Disallow non-default rate adjustments for now.
if (!nc.SpeedChange.IsDefault)
return false;

continue;

case ModDoubleTime dt:
// Disallow non-default rate adjustments for now.
if (!dt.SpeedChange.IsDefault)
return false;

continue;

case ModDaycore dc:
// Disallow non-default rate adjustments for now.
if (!dc.SpeedChange.IsDefault)
return false;

continue;

case ModHalfTime ht:
// Disallow non-default rate adjustments for now.
if (!ht.SpeedChange.IsDefault)
Expand Down

0 comments on commit 9ffefcb

Please sign in to comment.