From 407a907a2f54b9b89b67fb54b7d30b9ba58831c6 Mon Sep 17 00:00:00 2001 From: DrSmugleaf Date: Sat, 10 Dec 2022 21:58:25 +0100 Subject: [PATCH] Fix error when spawning nuke ops (#12961) --- Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs b/Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs index 5d081167f0..b68252651f 100644 --- a/Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs +++ b/Content.Server/GameTicking/Rules/NukeopsRuleSystem.cs @@ -549,7 +549,8 @@ public sealed class NukeopsRuleSystem : GameRuleSystem var name = session.AttachedEntity == null ? string.Empty : MetaData(session.AttachedEntity.Value).EntityName; - _operativePlayers.Add(name, session); + // TODO: Fix this being able to have duplicates + _operativePlayers[name] = session; } }