diff --git a/OpenRa.Game/Support/PerfHistory.cs b/OpenRa.Game/Support/PerfHistory.cs index 1b05dc49ad..c9aaecdf5a 100644 --- a/OpenRa.Game/Support/PerfHistory.cs +++ b/OpenRa.Game/Support/PerfHistory.cs @@ -16,7 +16,7 @@ namespace OpenRa.Game.Support s => { var x = new PerfItem(s, colors[nextColor++]); - if (nextColor > colors.Length) nextColor = 0; + if (nextColor >= colors.Length) nextColor = 0; return x; });