From 541849cd64755ae9e680784538eb821b21309e61 Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Wed, 1 Jan 2025 05:30:47 +0300 Subject: [PATCH] Update SharedNanoChatSystem.cs --- Content.Shared/_CorvaxNext/NanoChat/SharedNanoChatSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/_CorvaxNext/NanoChat/SharedNanoChatSystem.cs b/Content.Shared/_CorvaxNext/NanoChat/SharedNanoChatSystem.cs index 4dd281f84e1..f2639638ae1 100644 --- a/Content.Shared/_CorvaxNext/NanoChat/SharedNanoChatSystem.cs +++ b/Content.Shared/_CorvaxNext/NanoChat/SharedNanoChatSystem.cs @@ -49,7 +49,7 @@ private void OnExamined(Entity ent, ref ExaminedEvent arg /// public void SetNumber(Entity card, uint number) { - if (!Resolve(card, ref card.Comp)) + if (!Resolve(card, ref card.Comp) || card.Comp.Number == number) return; card.Comp.Number = number;