Update content vectors to numerics (#17759)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Numerics;
|
||||
using Content.Shared.Damage;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.GameStates;
|
||||
@@ -112,7 +113,7 @@ public sealed class AnomalyComponent : Component
|
||||
/// This is more likely to trend upwards than donwards, because that's funny
|
||||
/// </remarks>
|
||||
[DataField("pulseStabilityVariation")]
|
||||
public Vector2 PulseStabilityVariation = (-0.1f, 0.15f);
|
||||
public Vector2 PulseStabilityVariation = new(-0.1f, 0.15f);
|
||||
|
||||
/// <summary>
|
||||
/// The sound played when an anomaly pulses
|
||||
@@ -219,7 +220,7 @@ public sealed class AnomalyComponent : Component
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[DataField("offset")]
|
||||
public readonly Vector2 FloatingOffset = (0, 0.15f);
|
||||
public readonly Vector2 FloatingOffset = new(0, 0.15f);
|
||||
|
||||
public readonly string AnimationKey = "anomalyfloat";
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user