mirror of
https://github.com/ppy/osu
synced 2025-01-26 07:43:08 +00:00
Replace parantheses with nullable-bool equality operation
This commit is contained in:
parent
a32149fda1
commit
844430502b
@ -13,6 +13,6 @@ namespace osu.Game.Beatmaps
|
||||
/// <summary>
|
||||
/// Whether the beat sync provider is currently in a kiai section. Should make everything more epic.
|
||||
/// </summary>
|
||||
public static bool CheckIsKiaiTime(this IBeatSyncProvider provider) => provider.Clock != null && (provider.ControlPoints?.EffectPointAt(provider.Clock.CurrentTime).KiaiMode ?? false);
|
||||
public static bool CheckIsKiaiTime(this IBeatSyncProvider provider) => provider.Clock != null && provider.ControlPoints?.EffectPointAt(provider.Clock.CurrentTime).KiaiMode == true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user