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

Commit

Permalink
Update DeviceListSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonsant authored May 1, 2024
1 parent a3f63d3 commit 331dbad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Content.Server/DeviceNetwork/Systems/DeviceListSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
using JetBrains.Annotations;
using Robust.Shared.Map.Events;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Timing;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.IoC;

Expand All @@ -26,7 +28,7 @@ public override void Initialize()
SubscribeLocalEvent<DeviceListComponent, BeforeBroadcastAttemptEvent>(OnBeforeBroadcast);
SubscribeLocalEvent<DeviceListComponent, BeforePacketSentEvent>(OnBeforePacketSent);
SubscribeLocalEvent<BeforeSaveEvent>(OnMapSave);
SubscribeLocalEvent<RoundEndTextEvent>(OnRoundEnd);
SubscribeLocalEvent<PostUpdateEvent>(OnPostUpdate);
SubscribeLocalEvent<GenericEvent>(OnDeviceListProcessed);
}

Expand Down Expand Up @@ -108,7 +110,7 @@ private void OnMapSave(BeforeSaveEvent ev)
}
}

private void OnRoundEnd(RoundEndTextEvent ev)
private void OnPostUpdate(PostUpdateEvent ev)

Check failure on line 113 in Content.Server/DeviceNetwork/Systems/DeviceListSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

The type or namespace name 'PostUpdateEvent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 113 in Content.Server/DeviceNetwork/Systems/DeviceListSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

The type or namespace name 'PostUpdateEvent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 113 in Content.Server/DeviceNetwork/Systems/DeviceListSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The type or namespace name 'PostUpdateEvent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 113 in Content.Server/DeviceNetwork/Systems/DeviceListSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The type or namespace name 'PostUpdateEvent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 113 in Content.Server/DeviceNetwork/Systems/DeviceListSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The type or namespace name 'PostUpdateEvent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 113 in Content.Server/DeviceNetwork/Systems/DeviceListSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

The type or namespace name 'PostUpdateEvent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 113 in Content.Server/DeviceNetwork/Systems/DeviceListSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The type or namespace name 'PostUpdateEvent' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 113 in Content.Server/DeviceNetwork/Systems/DeviceListSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

The type or namespace name 'PostUpdateEvent' could not be found (are you missing a using directive or an assembly reference?)
{
RaiseLocalEvent(new GenericEvent(DeviceListProcessedEvent));
}
Expand Down

0 comments on commit 331dbad

Please sign in to comment.