1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 16:43:00 +08:00

Remove unnecessary null check

This commit is contained in:
Bartłomiej Dach 2020-08-18 19:39:03 +02:00
parent c6a640db55
commit 00ae456f08

View File

@ -41,7 +41,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Skills
double objectStrain = 0.0;
if (taikoCurrent.HitType != null && previousHitType != null && taikoCurrent.HitType != previousHitType)
if (previousHitType != null && taikoCurrent.HitType != previousHitType)
{
// The colour has changed.
objectStrain = 1.0;