Commit 5bb159b 1 parent bf206be commit 5bb159b Copy full SHA for 5bb159b
File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ public static void Initialise() { }
63
63
64
64
public static class General
65
65
{
66
+ internal static void Initialise ( ) { }
67
+
66
68
public static ConfigEntry < bool > DisplayControlHints { get ; } =
67
69
Cfg . Bind (
68
70
section : nameof ( General ) ,
@@ -82,6 +84,8 @@ public static class General
82
84
83
85
public static class Keybinds
84
86
{
87
+ internal static void Initialise ( ) { }
88
+
85
89
public static ConfigEntry < KeyboardShortcut > Snapping { get ; } =
86
90
Cfg . Bind (
87
91
section : nameof ( Keybinds ) ,
@@ -189,6 +193,8 @@ public static class Keybinds
189
193
190
194
public static class Snapping
191
195
{
196
+ internal static void Initialise ( ) { }
197
+
192
198
public static ConfigEntry < bool > EnabledByDefault { get ; } =
193
199
Cfg . Bind (
194
200
section : nameof ( Snapping ) ,
@@ -275,6 +281,8 @@ public static class Snapping
275
281
276
282
public static class Toggles
277
283
{
284
+ internal static void Initialise ( ) { }
285
+
278
286
public static Toggle Snapping { get ; } =
279
287
new (
280
288
shortcut : Keybinds . Snapping ,
Original file line number Diff line number Diff line change @@ -43,6 +43,12 @@ private void Awake()
43
43
44
44
private void OnEnable ( )
45
45
{
46
+ General . Initialise ( ) ;
47
+ Snapping . Initialise ( ) ;
48
+ Keybinds . Initialise ( ) ;
49
+ Toggles . Initialise ( ) ;
50
+ Localisation . Initialise ( ) ;
51
+
46
52
Toggles . Bind ( ) ;
47
53
ApplyHarmonyPatches ( ) ;
48
54
}
You can’t perform that action at this time.
0 commit comments