Off by one on colors choice
This commit is contained in:
@@ -16,7 +16,7 @@ namespace OpenRa.Game.Support
|
|||||||
s =>
|
s =>
|
||||||
{
|
{
|
||||||
var x = new PerfItem(s, colors[nextColor++]);
|
var x = new PerfItem(s, colors[nextColor++]);
|
||||||
if (nextColor > colors.Length) nextColor = 0;
|
if (nextColor >= colors.Length) nextColor = 0;
|
||||||
return x;
|
return x;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user