Skip to content

Commit

Permalink
Make OpenLinkedDynamicVariableSpace toggleable (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nytra authored Sep 5, 2024
1 parent b007235 commit 8316657
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ internal sealed class OpenLinkedDynamicVariableSpace
{
public override int Priority => HarmonyLib.Priority.First;

public override bool CanBeDisabled => true;

public OpenLinkedDynamicVariableSpace() : base(typeof(DynamicVariableBase<>))
{ }

protected override bool AppliesTo(BuildInspectorHeaderEvent eventData) => true;
protected override bool AppliesTo(BuildInspectorHeaderEvent eventData) => Enabled;

protected override IEnumerable<IFeaturePatch> GetFeaturePatches() => [];

Expand Down

0 comments on commit 8316657

Please sign in to comment.