]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add VVRW to restricted range (#21779)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sun, 19 Nov 2023 12:02:37 +0000 (23:02 +1100)
committerGitHub <noreply@github.com>
Sun, 19 Nov 2023 12:02:37 +0000 (23:02 +1100)
Content.Shared/Salvage/RestrictedRangeComponent.cs

index 8adfef93774281441cbcf4bef6128b5e6d508ef6..01eaa800404a1b0840866a5d452091a003a16d3c 100644 (file)
@@ -9,9 +9,9 @@ namespace Content.Shared.Salvage;
 [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
 public sealed partial class RestrictedRangeComponent : Component
 {
-    [DataField(required: true), AutoNetworkedField]
+    [DataField(required: true), AutoNetworkedField, ViewVariables(VVAccess.ReadWrite)]
     public float Range = 78f;
 
-    [DataField, AutoNetworkedField]
+    [DataField, AutoNetworkedField, ViewVariables(VVAccess.ReadWrite)]
     public Vector2 Origin;
 }