diff --git a/Barotrauma/BarotraumaShared/Source/GameSession/GameModes/TraitorManager.cs b/Barotrauma/BarotraumaShared/Source/GameSession/GameModes/TraitorManager.cs index 8c201805d..e3d4790c5 100644 --- a/Barotrauma/BarotraumaShared/Source/GameSession/GameModes/TraitorManager.cs +++ b/Barotrauma/BarotraumaShared/Source/GameSession/GameModes/TraitorManager.cs @@ -69,7 +69,7 @@ namespace Barotrauma get { return traitorList; } } - private List traitorList; + private List traitorList = new List(); public string codeWords, codeResponse; @@ -112,7 +112,6 @@ namespace Barotrauma codeWords = ToolBox.GetRandomLine(wordsTxt) + ", " + ToolBox.GetRandomLine(wordsTxt); codeResponse = ToolBox.GetRandomLine(wordsTxt) + ", " + ToolBox.GetRandomLine(wordsTxt); - traitorList = new List(); while (TraitorCount-- >= 0) { if (traitorCandidates.Count <= 0)