From: themias <89101928+themias@users.noreply.github.com> Date: Thu, 13 Feb 2025 20:12:56 +0000 (-0500) Subject: Fix fax spamming (#35135) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=a8046286b4a8276f24233167ea5129ab35827189;p=space-station-14.git Fix fax spamming (#35135) * Fix fax spamming * Also prevent copy spam --- diff --git a/Content.Server/Fax/FaxSystem.cs b/Content.Server/Fax/FaxSystem.cs index b73c101e3f..180689f892 100644 --- a/Content.Server/Fax/FaxSystem.cs +++ b/Content.Server/Fax/FaxSystem.cs @@ -451,6 +451,9 @@ public sealed class FaxSystem : EntitySystem if (!Resolve(uid, ref component)) return; + if (component.SendTimeoutRemaining > 0) + return; + var sendEntity = component.PaperSlot.Item; if (sendEntity == null) return; @@ -495,6 +498,9 @@ public sealed class FaxSystem : EntitySystem if (!Resolve(uid, ref component)) return; + if (component.SendTimeoutRemaining > 0) + return; + var sendEntity = component.PaperSlot.Item; if (sendEntity == null) return;