Fix fax spamming (#35135)

* Fix fax spamming

* Also prevent copy spam
This commit is contained in:
themias
2025-02-13 15:12:56 -05:00
committed by GitHub
parent c0dd8edc09
commit a8046286b4

View File

@@ -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;