mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Simplify expression with ternary
This commit is contained in:
@ -73,12 +73,7 @@ namespace osu.Game.Rulesets.Taiko.Difficulty.Skills
|
||||
|
||||
public Stamina(bool rightHand)
|
||||
{
|
||||
hand = 0;
|
||||
|
||||
if (rightHand)
|
||||
{
|
||||
hand = 1;
|
||||
}
|
||||
hand = rightHand ? 1 : 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user