1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-13 16:47:46 +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 (!nonGameplayPeriods.IsInAny(gameplayClock.CurrentTime)) return;
if (lastAcceptedCentreAction != null) lastAcceptedCentreAction = null;
lastAcceptedCentreAction = null; lastAcceptedRimAction = null;
if (lastAcceptedRimAction != null)
lastAcceptedRimAction = null;
} }
private bool checkCorrectAction(TaikoAction action) private bool checkCorrectAction(TaikoAction action)