Fix literally every single activatable UI bug (#27401)

* Fix all activatable bugs

Apparently this was a load-bearing nullable enum.

* build
This commit is contained in:
metalgearsloth
2024-04-28 02:32:57 +10:00
committed by GitHub
parent 8a59e9e1f8
commit 74041cf66f
3 changed files with 6 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ namespace Content.Shared.UserInterface
public sealed partial class ActivatableUIComponent : Component
{
[DataField(required: true, customTypeSerializer: typeof(EnumSerializer))]
public Enum Key { get; set; } = default!;
public Enum? Key { get; set; } = default!;
[ViewVariables(VVAccess.ReadWrite)]
[DataField]