mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 22:33:05 +08:00
Inverted an if statement for code clarity
This commit is contained in:
parent
25ef1f199d
commit
beb04379f9
@ -67,14 +67,13 @@ namespace osu.Game.Rulesets.Taiko.Mods
|
||||
|
||||
public void Update(Playfield playfield)
|
||||
{
|
||||
if (nonGameplayPeriods.IsInAny(gameplayClock.CurrentTime))
|
||||
{
|
||||
if (LastAcceptedDonAction != null)
|
||||
LastAcceptedDonAction = null;
|
||||
if (!nonGameplayPeriods.IsInAny(gameplayClock.CurrentTime)) return;
|
||||
|
||||
if (LastAcceptedKatAction != null)
|
||||
LastAcceptedKatAction = null;
|
||||
}
|
||||
if (LastAcceptedDonAction != null)
|
||||
LastAcceptedDonAction = null;
|
||||
|
||||
if (LastAcceptedKatAction != null)
|
||||
LastAcceptedKatAction = null;
|
||||
}
|
||||
|
||||
protected abstract bool CheckValidNewAction(TaikoAction action);
|
||||
|
Loading…
Reference in New Issue
Block a user