mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
Undid chaging property to init setter
This commit is contained in:
1 parent
706a836e4a
commit
6598cb6933
1 file changed
+2
-2
@@ -52,9 +52,9 @@ public abstract class ModdedOption<T> : IModdedOption
|
||||
public T DefaultValue { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the event that is invoked when the value of the option changes.
|
||||
/// Gets or sets the event that is invoked when the value of the option changes.
|
||||
/// </summary>
|
||||
public Action<T>? ChangedEvent { get; init; }
|
||||
public Action<T>? ChangedEvent { get; set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public Func<bool> Visible { get; set; }
|
||||
|
||||
Reference in new issue
Block a user