mirror of
https://github.com/ppy/osu
synced 2025-01-07 14:49:57 +00:00
Remove unnecessary null check
This commit is contained in:
parent
c6a640db55
commit
00ae456f08
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user