Skip to content

Commit 86674e8

Browse files
authored
Network AirAlarms (#3769)
<!-- IT'S NOT WIZDENS REPO, IF YOU WANT TO ADD YOUR CHANGES ON ALL SERVERS, CREATE PR TO WIZDENS REPO --> ## Short description <!-- What do you propose to change with your PR? --> Makes AirAlarms networked ## Why we need to add this <!-- What is the reason for adding these changes? Please post links to Discussions as well as Bug Reports here. Please describe how this will change the game balance. --> Fixes test fail ## Media (Video/Screenshots) <!-- If your PR contains in-game changes you must provide screenshots/videos of the changes. --> ## Checks <!-- check boxes for faster reviewing of your PR --> - [X] I do not require assistance to complete the PR. - [x] Before posting/requesting review of a PR, I have verified that the changes work. - [ ] I have added screenshots/videos of the changes, or this PR does not change in-game mechanics. - [X] I affirm that my changes are licensed under the [MIT License](https://github.com/ss14Starlight/space-station-14/blob/Starlight/LICENSE.TXT) and grant permission for use in this repository under its conditions. No Changelog
2 parents 0f8a859 + 2204254 commit 86674e8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Content.Server/Atmos/Monitor/Components/AirAlarmComponent.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
using Content.Shared.DeviceLinking;
66
using Robust.Shared.Network;
77
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
8+
using Robust.Shared.GameStates; // Starlight
89

910
namespace Content.Server.Atmos.Monitor.Components;
1011

11-
[RegisterComponent]
12+
[RegisterComponent, NetworkedComponent] // Starlight Edit: Added NetworkedComponent
1213
public sealed partial class AirAlarmComponent : Component
1314
{
1415
[DataField] public AirAlarmMode CurrentMode { get; set; } = AirAlarmMode.Filtering;

0 commit comments

Comments
 (0)