1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 09:27:29 +08:00

Removed useless null checks

This commit is contained in:
OpenSauce04 2023-03-06 11:00:37 +00:00
parent ac6c8e600a
commit 4ae2661f1b

View File

@ -84,11 +84,8 @@ namespace osu.Game.Rulesets.Taiko.Mods
{
if (!nonGameplayPeriods.IsInAny(gameplayClock.CurrentTime)) return;
if (lastAcceptedCentreAction != null)
lastAcceptedCentreAction = null;
if (lastAcceptedRimAction != null)
lastAcceptedRimAction = null;
lastAcceptedCentreAction = null;
lastAcceptedRimAction = null;
}
private bool checkCorrectAction(TaikoAction action)