From 92da411ea51fca3912948d6f677c564ae36b8495 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sun, 12 Jan 2020 02:01:00 +0100 Subject: [PATCH] Flashlight wattag is now a VV-able variable. --- .../Components/Interactable/HandheldLightComponent.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/GameObjects/Components/Interactable/HandheldLightComponent.cs b/Content.Server/GameObjects/Components/Interactable/HandheldLightComponent.cs index 5fd7e39bd6..13011da043 100644 --- a/Content.Server/GameObjects/Components/Interactable/HandheldLightComponent.cs +++ b/Content.Server/GameObjects/Components/Interactable/HandheldLightComponent.cs @@ -1,4 +1,4 @@ -using Content.Server.GameObjects.Components.Power; +using Content.Server.GameObjects.Components.Power; using Content.Server.GameObjects.Components.Sound; using Content.Server.GameObjects.EntitySystems; using Content.Server.Interfaces.GameObjects; @@ -28,7 +28,7 @@ namespace Content.Server.GameObjects.Components.Interactable [Dependency] private readonly ILocalizationManager _localizationManager; #pragma warning restore 649 - public const float Wattage = 10; + [ViewVariables(VVAccess.ReadWrite)] public float Wattage { get; set; } = 10; [ViewVariables] private ContainerSlot _cellContainer; private PointLightComponent _pointLight; private SpriteComponent _spriteComponent;