SlowContactsSystem to SpeedModifierContactsSystem mini rework (#26110)
* rework * update logic
This commit is contained in:
@@ -7,6 +7,6 @@ namespace Content.Shared.Movement.Components;
|
||||
/// Exists just to listen to a single event. What a life.
|
||||
/// </summary>
|
||||
[NetworkedComponent, RegisterComponent] // must be networked to properly predict adding & removal
|
||||
public sealed partial class SlowedByContactComponent : Component
|
||||
public sealed partial class SpeedModifiedByContactComponent : Component
|
||||
{
|
||||
}
|
||||
@@ -6,8 +6,8 @@ namespace Content.Shared.Movement.Components;
|
||||
|
||||
[NetworkedComponent, RegisterComponent]
|
||||
[AutoGenerateComponentState]
|
||||
[Access(typeof(SlowContactsSystem))]
|
||||
public sealed partial class SlowContactsComponent : Component
|
||||
[Access(typeof(SpeedModifierContactsSystem))]
|
||||
public sealed partial class SpeedModifierContactsComponent : Component
|
||||
{
|
||||
[DataField("walkSpeedModifier"), ViewVariables(VVAccess.ReadWrite)]
|
||||
[AutoNetworkedField]
|
||||
Reference in New Issue
Block a user