From f84e87a010be663d7d3c045c50c4904a00417ca6 Mon Sep 17 00:00:00 2001
From: Ady4ik <141335742+Ady4ik@users.noreply.github.com>
Date: Sun, 26 May 2024 00:07:18 +0300
Subject: [PATCH] Move PendingZombieComponent to Shared (#28143)
* Move PendingZombieComponent to Shared
* network me boy
---------
Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
---
.../Chemistry/ReagentEffects/CauseZombieInfection.cs | 1 +
.../Chemistry/ReagentEffects/CureZombieInfection.cs | 1 +
.../Zombies/PendingZombieComponent.cs | 5 +++--
3 files changed, 5 insertions(+), 2 deletions(-)
rename {Content.Server => Content.Shared}/Zombies/PendingZombieComponent.cs (94%)
diff --git a/Content.Server/Chemistry/ReagentEffects/CauseZombieInfection.cs b/Content.Server/Chemistry/ReagentEffects/CauseZombieInfection.cs
index 029b149500..96c57f7465 100644
--- a/Content.Server/Chemistry/ReagentEffects/CauseZombieInfection.cs
+++ b/Content.Server/Chemistry/ReagentEffects/CauseZombieInfection.cs
@@ -2,6 +2,7 @@ using Content.Server.Zombies;
using Content.Shared.Chemistry.Reagent;
using Robust.Shared.Configuration;
using Robust.Shared.Prototypes;
+using Content.Shared.Zombies;
namespace Content.Server.Chemistry.ReagentEffects;
diff --git a/Content.Server/Chemistry/ReagentEffects/CureZombieInfection.cs b/Content.Server/Chemistry/ReagentEffects/CureZombieInfection.cs
index d56fc11531..20e2c015c4 100644
--- a/Content.Server/Chemistry/ReagentEffects/CureZombieInfection.cs
+++ b/Content.Server/Chemistry/ReagentEffects/CureZombieInfection.cs
@@ -2,6 +2,7 @@ using Content.Server.Zombies;
using Content.Shared.Chemistry.Reagent;
using Robust.Shared.Configuration;
using Robust.Shared.Prototypes;
+using Content.Shared.Zombies;
namespace Content.Server.Chemistry.ReagentEffects;
diff --git a/Content.Server/Zombies/PendingZombieComponent.cs b/Content.Shared/Zombies/PendingZombieComponent.cs
similarity index 94%
rename from Content.Server/Zombies/PendingZombieComponent.cs
rename to Content.Shared/Zombies/PendingZombieComponent.cs
index 811d3f9644..0fb61c84df 100644
--- a/Content.Server/Zombies/PendingZombieComponent.cs
+++ b/Content.Shared/Zombies/PendingZombieComponent.cs
@@ -1,12 +1,13 @@
using Content.Shared.Damage;
+using Robust.Shared.GameStates;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
-namespace Content.Server.Zombies;
+namespace Content.Shared.Zombies;
///
/// Temporary because diseases suck.
///
-[RegisterComponent]
+[RegisterComponent, NetworkedComponent]
public sealed partial class PendingZombieComponent : Component
{
///
--
2.51.2