]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix roller skates debug assert (#23876)
authorArendian <137322659+Arendian@users.noreply.github.com>
Wed, 10 Jan 2024 21:38:24 +0000 (22:38 +0100)
committerGitHub <noreply@github.com>
Wed, 10 Jan 2024 21:38:24 +0000 (16:38 -0500)
Networkedcomponent

Content.Shared/Damage/Components/DamageOnHighSpeedImpactComponent.cs

index c56ed6537ca0934a1e0e2ac40abfb733f87a4251..e7f4fdf703ddd2e4e064e8bbff22f9d19a77730f 100644 (file)
@@ -1,5 +1,6 @@
 using Content.Shared.Damage.Systems;
 using Robust.Shared.Audio;
+using Robust.Shared.GameStates;
 using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
 
 namespace Content.Shared.Damage.Components;
@@ -7,7 +8,7 @@ namespace Content.Shared.Damage.Components;
 /// <summary>
 /// Should the entity take damage / be stunned if colliding at a speed above MinimumSpeed?
 /// </summary>
-[RegisterComponent, Access(typeof(DamageOnHighSpeedImpactSystem))]
+[RegisterComponent, NetworkedComponent, Access(typeof(DamageOnHighSpeedImpactSystem))]
 public sealed partial class DamageOnHighSpeedImpactComponent : Component
 {
     [DataField("minimumSpeed"), ViewVariables(VVAccess.ReadWrite)]