Reduce error count.

This commit is contained in:
Dean Herbert
2017-03-09 14:24:16 +09:00
parent 149bf7b5fc
commit da751804b6
30 changed files with 54 additions and 75 deletions

View File

@ -64,11 +64,8 @@ namespace osu.Game.Overlays.Toolbar
}
};
int amountButtons = 0;
foreach (PlayMode m in Enum.GetValues(typeof(PlayMode)))
{
++amountButtons;
var localMode = m;
modeButtons.Add(new ToolbarModeButton
{