diff --git a/Test App 3 - Jarvis/Program.cs b/Test App 3 - Jarvis/Program.cs index 5d892ab..9e0752c 100644 --- a/Test App 3 - Jarvis/Program.cs +++ b/Test App 3 - Jarvis/Program.cs @@ -78,7 +78,7 @@ static void Main(string[] args) if (currentCpuPercentage == 100) { // This is designed to prevent the speech speed from exceeding 5x normal - string cpuLoadVocalMessage = cpuMaxedOutMessages[rand.Next(5)]; + string cpuLoadVocalMessage = cpuMaxedOutMessages[rand.Next(cpuMaxedOutMessages.Count)]; if (isChromeOpenedAlready == false) {