From c79517ba71284c8e79baa4c5901ac8f5eb287ba5 Mon Sep 17 00:00:00 2001 From: Rinary <72972221+Rinary1@users.noreply.github.com> Date: Wed, 30 Oct 2024 19:26:37 +0200 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=20=D0=BA=D1=80=D0=B0=D1=88=20=D1=81=D0=B5?= =?UTF-8?q?=D1=80=D0=B2=D0=B5=D1=80=D0=B0=20=D0=BF=D1=80=D0=B8=20=D0=B4?= =?UTF-8?q?=D0=B2=D0=BE=D0=B9=D0=BD=D0=BE=D0=B9=20=D0=B2=D1=8B=D0=B4=D0=B0?= =?UTF-8?q?=D1=87=D0=B5=20=D0=B3=D0=B5=D0=BD=D0=BE=D0=BA=D1=80=D0=B0=D0=B4?= =?UTF-8?q?=D0=B0.=20(#574)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Server/GameTicking/Rules/ChangelingRuleSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/GameTicking/Rules/ChangelingRuleSystem.cs b/Content.Server/GameTicking/Rules/ChangelingRuleSystem.cs index dfb75ad59e..d6b1c9f3cf 100644 --- a/Content.Server/GameTicking/Rules/ChangelingRuleSystem.cs +++ b/Content.Server/GameTicking/Rules/ChangelingRuleSystem.cs @@ -58,7 +58,8 @@ public sealed partial class ChangelingRuleSystem : GameRuleSystem(mindId, out var changelingRole); - if (changelingRole is not null) + _role.MindHasRole(mindId, out var briefingComp); + if (changelingRole is not null && briefingComp is null) { AddComp(changelingRole.Value.Owner); Comp(changelingRole.Value.Owner).Briefing = briefing;