1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 15:17:27 +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,10 +84,7 @@ 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;
if (lastAcceptedRimAction != null)
lastAcceptedRimAction = null; lastAcceptedRimAction = null;
} }