mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 02:37:25 +09: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)
|
public void Update(Playfield playfield)
|
||||||
{
|
{
|
||||||
if (nonGameplayPeriods.IsInAny(gameplayClock.CurrentTime))
|
if (!nonGameplayPeriods.IsInAny(gameplayClock.CurrentTime)) return;
|
||||||
{
|
|
||||||
if (LastAcceptedDonAction != null)
|
|
||||||
LastAcceptedDonAction = null;
|
|
||||||
|
|
||||||
if (LastAcceptedKatAction != null)
|
if (LastAcceptedDonAction != null)
|
||||||
LastAcceptedKatAction = null;
|
LastAcceptedDonAction = null;
|
||||||
}
|
|
||||||
|
if (LastAcceptedKatAction != null)
|
||||||
|
LastAcceptedKatAction = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected abstract bool CheckValidNewAction(TaikoAction action);
|
protected abstract bool CheckValidNewAction(TaikoAction action);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user