mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 10:03:05 +08:00
Simplified getColourFromTaikoAction switch case
Co-authored-by: Stedoss <29103029+Stedoss@users.noreply.github.com>
This commit is contained in:
parent
18e114904a
commit
7cb5ca905a
@ -223,10 +223,12 @@ namespace osu.Game.Rulesets.Taiko.UI
|
||||
#pragma warning disable format
|
||||
switch (handledAction)
|
||||
{
|
||||
case TaikoAction.LeftRim: return colours.Blue;
|
||||
case TaikoAction.LeftCentre: return colours.Red;
|
||||
case TaikoAction.RightCentre: return colours.Red;
|
||||
case TaikoAction.RightRim: return colours.Blue;
|
||||
case TaikoAction.LeftRim:
|
||||
case TaikoAction.RightRim:
|
||||
return colours.Blue;
|
||||
case TaikoAction.LeftCentre:
|
||||
case TaikoAction.RightCentre:
|
||||
return colours.Red;
|
||||
}
|
||||
#pragma warning restore format
|
||||
return colours.Red;
|
||||
|
Loading…
Reference in New Issue
Block a user