From 96a3967c3f4bcf5826b62013bc3e665656b1db81 Mon Sep 17 00:00:00 2001 From: "Mr. 27" <45323883+Dutch-VanDerLinde@users.noreply.github.com> Date: Fri, 3 May 2024 23:03:56 -0400 Subject: [PATCH] Change return to continue in gamerulesystem (#27656) Update GameRuleSystem.cs --- Content.Server/GameTicking/Rules/GameRuleSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/GameTicking/Rules/GameRuleSystem.cs b/Content.Server/GameTicking/Rules/GameRuleSystem.cs index 0ff9b3bbbb..05374aa139 100644 --- a/Content.Server/GameTicking/Rules/GameRuleSystem.cs +++ b/Content.Server/GameTicking/Rules/GameRuleSystem.cs @@ -76,7 +76,7 @@ public abstract partial class GameRuleSystem : EntitySystem where T : ICompon while (query.MoveNext(out var uid, out var comp)) { if (!TryComp(uid, out var ruleData)) - return; + continue; AppendRoundEndText(uid, comp, ruleData, ref ev); } -- 2.52.0