Fix two action bugs (#6909)
This commit is contained in:
@@ -24,6 +24,7 @@ namespace Content.Server.Ghost.Components
|
|||||||
Icon = new SpriteSpecifier.Texture(new ResourcePath("Interface/Actions/scream.png")),
|
Icon = new SpriteSpecifier.Texture(new ResourcePath("Interface/Actions/scream.png")),
|
||||||
Name = "action-name-boo",
|
Name = "action-name-boo",
|
||||||
Description = "action-description-boo",
|
Description = "action-description-boo",
|
||||||
|
CheckCanInteract = false,
|
||||||
Event = new BooActionEvent(),
|
Event = new BooActionEvent(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace Content.Shared.Light.Component
|
|||||||
public abstract class SharedHandheldLightComponent : Robust.Shared.GameObjects.Component
|
public abstract class SharedHandheldLightComponent : Robust.Shared.GameObjects.Component
|
||||||
{
|
{
|
||||||
[DataField("toggleAction", required: true)]
|
[DataField("toggleAction", required: true)]
|
||||||
public InstantAction ToggleAction = default!;
|
public InstantAction ToggleAction = new();
|
||||||
|
|
||||||
public const int StatusLevels = 6;
|
public const int StatusLevels = 6;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user