From 49e0933389931c693e5d48e30007731ac152b675 Mon Sep 17 00:00:00 2001 From: DrSmugleaf <10968691+DrSmugleaf@users.noreply.github.com> Date: Sun, 1 Sep 2024 17:27:13 -0700 Subject: [PATCH] Move IgnitionEvent to shared (#30985) --- Content.Server/IgnitionSource/IgnitionSourceSystem.cs | 1 + Content.Server/Light/EntitySystems/ExpendableLightSystem.cs | 5 +---- .../IgnitionSource/IgnitionEvent.cs | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) rename {Content.Server => Content.Shared}/IgnitionSource/IgnitionEvent.cs (82%) diff --git a/Content.Server/IgnitionSource/IgnitionSourceSystem.cs b/Content.Server/IgnitionSource/IgnitionSourceSystem.cs index 3925cc86b5..9adbf1f6de 100644 --- a/Content.Server/IgnitionSource/IgnitionSourceSystem.cs +++ b/Content.Server/IgnitionSource/IgnitionSourceSystem.cs @@ -1,4 +1,5 @@ using Content.Server.Atmos.EntitySystems; +using Content.Shared.IgnitionSource; using Content.Shared.Item.ItemToggle.Components; using Content.Shared.Temperature; using Robust.Server.GameObjects; diff --git a/Content.Server/Light/EntitySystems/ExpendableLightSystem.cs b/Content.Server/Light/EntitySystems/ExpendableLightSystem.cs index ba44b42ead..b56da84f03 100644 --- a/Content.Server/Light/EntitySystems/ExpendableLightSystem.cs +++ b/Content.Server/Light/EntitySystems/ExpendableLightSystem.cs @@ -1,18 +1,15 @@ -using Content.Server.IgnitionSource; using Content.Server.Light.Components; using Content.Shared.Clothing.Components; using Content.Shared.Clothing.EntitySystems; +using Content.Shared.IgnitionSource; using Content.Shared.Interaction.Events; using Content.Shared.Item; using Content.Shared.Light.Components; using Content.Shared.Tag; -using Content.Shared.Temperature; using Content.Shared.Verbs; using JetBrains.Annotations; using Robust.Server.GameObjects; -using Robust.Shared.Audio; using Robust.Shared.Audio.Systems; -using Robust.Shared.Player; using Robust.Shared.Utility; namespace Content.Server.Light.EntitySystems diff --git a/Content.Server/IgnitionSource/IgnitionEvent.cs b/Content.Shared/IgnitionSource/IgnitionEvent.cs similarity index 82% rename from Content.Server/IgnitionSource/IgnitionEvent.cs rename to Content.Shared/IgnitionSource/IgnitionEvent.cs index b86bf52b2d..be168fd46f 100644 --- a/Content.Server/IgnitionSource/IgnitionEvent.cs +++ b/Content.Shared/IgnitionSource/IgnitionEvent.cs @@ -1,4 +1,4 @@ -namespace Content.Server.IgnitionSource; +namespace Content.Shared.IgnitionSource; /// /// Raised in order to toggle the ignitionSourceComponent on an entity on or off -- 2.51.2