From: Mr. 27 <45323883+Dutch-VanDerLinde@users.noreply.github.com> Date: Sat, 4 May 2024 03:03:56 +0000 (-0400) Subject: Change return to continue in gamerulesystem (#27656) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=96a3967c3f4bcf5826b62013bc3e665656b1db81;p=space-station-14.git Change return to continue in gamerulesystem (#27656) Update GameRuleSystem.cs --- 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); }