Skip to content

Commit f2a01c8

Browse files
author
hamstar0
committed
v1.4.1- Imported FloatInputElement via subclass
1 parent 0359be5 commit f2a01c8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

ConfigDefaults.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55

66

77
namespace TheLunatic {
8+
class MyFloatInputElement : FloatInputElement { }
9+
10+
11+
12+
813
public class LunaticConfig : ModConfig {
914
public override ConfigScope Mode => ConfigScope.ServerSide;
1015

@@ -39,12 +44,12 @@ public class LunaticConfig : ModConfig {
3944

4045
[Range( 0f, 100f )]
4146
[DefaultValue( 2.5f )]
42-
[CustomModConfigItem( typeof( FloatInputElement ) )]
47+
[CustomModConfigItem( typeof( MyFloatInputElement ) )]
4348
public float WallOfFleshMultiplier = 2.5f; // Added time for WoF kill
4449

4550
[Range( 0f, 100f )]
4651
[DefaultValue( 1.5f )]
47-
[CustomModConfigItem( typeof( FloatInputElement ) )]
52+
[CustomModConfigItem( typeof( MyFloatInputElement ) )]
4853
public float HardModeMultiplier = 1.5f; // Added time for hard mode bosses
4954

5055

0 commit comments

Comments
 (0)