Правки
This commit is contained in:
@@ -104,6 +104,8 @@ namespace Content.Server._Amour.StationEvents
|
|||||||
var faxes = EntityManager.EntityQuery<FaxMachineComponent>();
|
var faxes = EntityManager.EntityQuery<FaxMachineComponent>();
|
||||||
foreach (var fax in faxes)
|
foreach (var fax in faxes)
|
||||||
{
|
{
|
||||||
|
if (!fax.ReceiveStationGoal)
|
||||||
|
continue;
|
||||||
_faxSystem.Receive(fax.Owner, printout, null, fax);
|
_faxSystem.Receive(fax.Owner, printout, null, fax);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -603,7 +603,7 @@
|
|||||||
noSpawn: true
|
noSpawn: true
|
||||||
components:
|
components:
|
||||||
- type: StationEvent
|
- type: StationEvent
|
||||||
|
maxOccurrences: 1 # everyone ignores this event
|
||||||
weight: 5
|
weight: 5
|
||||||
reoccurrenceDelay: 30
|
|
||||||
duration: 1
|
duration: 1
|
||||||
- type: SpaceLawChangeRule
|
- type: SpaceLawChangeRule
|
||||||
|
|||||||
Reference in New Issue
Block a user