Skip to content

Commit

Permalink
Explicitly specify NC/DC as mods valid for PP
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Oct 20, 2023
1 parent c43ad21 commit fbfb96d
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 fbfb96d

Please sign in to comment.