Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Fixed multiple faxes
Browse files Browse the repository at this point in the history
  • Loading branch information
FireNameFN committed May 21, 2024
1 parent 1a9b1e2 commit 7f3175d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using Content.Server.DeviceNetwork.Components;
using Content.Server.DeviceNetwork.Systems;
using Content.Server.Fax;
using Content.Server.Station.Systems;
using Content.Shared.Fax.Components;
using Content.Shared.GameTicking;
using Content.Shared.Paper;
using Content.Shared.Shipyard.Components;

Expand All @@ -16,11 +16,11 @@ public sealed class FaxMultiaddressSystem : EntitySystem

public override void Initialize()
{
SubscribeLocalEvent<StationInitializedEvent>(OnStationInitialized);
SubscribeLocalEvent<RoundStartedEvent>(OnRoundStarted);
SubscribeLocalEvent<FaxMultiaddressComponent, DeviceNetworkPacketEvent>(OnDeviceNetworkPacket);
}

private void OnStationInitialized(StationInitializedEvent e)
private void OnRoundStarted(RoundStartedEvent e)
{
Spawn("FaxMultiaddress");
}
Expand Down

0 comments on commit 7f3175d

Please sign in to comment.