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 deltanedas
parent 5f896fcf0b
commit a2f7ec0d67
1 changed files with 6 additions and 0 deletions

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;