Fix roller skates debug assert (#23876)

Networkedcomponent
This commit is contained in:
Arendian
2024-01-10 22:38:24 +01:00
committed by GitHub
parent 9c294d7258
commit 464f24d040

View File

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