Fix player rolling agent and operative at the same time (#23568)

Update NukeopsRuleSystem.cs

Probably fix the double pick bug by removing the picked agent from the Operative list
This commit is contained in:
dolgovmi
2024-01-06 11:19:11 +07:00
committed by GitHub
parent a448e5fa56
commit 7ff348f1bc

View File

@@ -713,6 +713,7 @@ public sealed class NukeopsRuleSystem : GameRuleSystem<NukeopsRuleComponent>
{
nukeOp = _random.PickAndTake(medPrefList);
everyone.Remove(nukeOp);
prefList.Remove(nukeOp);
Logger.InfoS("preset", "Insufficient preferred nukeop commanders, picking an agent");
}