Fix fax spamming (#35135)

* Fix fax spamming

* Also prevent copy spam
This commit is contained in:
themias
2025-03-01 13:07:06 +00:00
committed by deltanedas
parent 5f896fcf0b
commit a2f7ec0d67
+6
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;