mirror of
https://github.com/ppy/osu
synced 2025-01-08 15:19:51 +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;
|
double objectStrain = 0.0;
|
||||||
|
|
||||||
if (taikoCurrent.HitType != null && previousHitType != null && taikoCurrent.HitType != previousHitType)
|
if (previousHitType != null && taikoCurrent.HitType != previousHitType)
|
||||||
{
|
{
|
||||||
// The colour has changed.
|
// The colour has changed.
|
||||||
objectStrain = 1.0;
|
objectStrain = 1.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user