Fix two action bugs (#6909)

This commit is contained in:
Leon Friedrich
2022-02-27 16:02:39 +13:00
committed by GitHub
parent e27b9b8fce
commit ff2589d07c
2 changed files with 2 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ namespace Content.Shared.Light.Component
public abstract class SharedHandheldLightComponent : Robust.Shared.GameObjects.Component
{
[DataField("toggleAction", required: true)]
public InstantAction ToggleAction = default!;
public InstantAction ToggleAction = new();
public const int StatusLevels = 6;