]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Move PendingZombieComponent to Shared (#28143)
authorAdy4ik <141335742+Ady4ik@users.noreply.github.com>
Sat, 25 May 2024 21:07:18 +0000 (00:07 +0300)
committerGitHub <noreply@github.com>
Sat, 25 May 2024 21:07:18 +0000 (17:07 -0400)
* Move PendingZombieComponent to Shared

* network me boy

---------

Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
Content.Server/Chemistry/ReagentEffects/CauseZombieInfection.cs
Content.Server/Chemistry/ReagentEffects/CureZombieInfection.cs
Content.Shared/Zombies/PendingZombieComponent.cs [moved from Content.Server/Zombies/PendingZombieComponent.cs with 94% similarity]

index 029b1495002b6263946e78df502f25de57e834dc..96c57f74653e0357e558f357d155e7a9df768900 100644 (file)
@@ -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;
 
index d56fc1153101dde58f1dd0a9604c4079e1a6bdc7..20e2c015c46fe9580aeb5d75fc752a22dd40f0dc 100644 (file)
@@ -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;
 
similarity index 94%
rename from Content.Server/Zombies/PendingZombieComponent.cs
rename to Content.Shared/Zombies/PendingZombieComponent.cs
index 811d3f96440c24f7612b0113337d73c1f23203a9..0fb61c84df11b1d3d2422819367c09848925b1b6 100644 (file)
@@ -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;
 
 /// <summary>
 /// Temporary because diseases suck.
 /// </summary>
-[RegisterComponent]
+[RegisterComponent, NetworkedComponent]
 public sealed partial class PendingZombieComponent : Component
 {
     /// <summary>