mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 16:47:46 +08:00
Toast now only shows when speed is actually changed
This commit is contained in:
parent
148afd1201
commit
3403789c6f
@ -825,8 +825,6 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public void ChangeSpeed(double delta)
|
||||
{
|
||||
// Mod Change from 0.95 DC to 1.0 none to 1.05 DT/NC ?
|
||||
onScreenDisplay?.Display(new SpeedChangeToast(config!, delta));
|
||||
if (game == null) return;
|
||||
|
||||
ModNightcore modNc = (ModNightcore)((MultiMod)game.AvailableMods.Value[ModType.DifficultyIncrease].First(mod => mod is MultiMod multiMod && multiMod.Mods.Count(modType => modType is ModNightcore) > 0)).Mods.First(mod => mod is ModNightcore);
|
||||
@ -841,6 +839,8 @@ namespace osu.Game.Screens.Select
|
||||
if (incompatiableModActive)
|
||||
return;
|
||||
|
||||
onScreenDisplay?.Display(new SpeedChangeToast(config!, delta));
|
||||
|
||||
if (rateModActive)
|
||||
{
|
||||
ModRateAdjust mod = (ModRateAdjust)selectedMods.Value.First(mod => mod is ModRateAdjust);
|
||||
|
Loading…
Reference in New Issue
Block a user