Skip to content

Commit

Permalink
v2.1.1.5 - Fixed invalid custom config elements
Browse files Browse the repository at this point in the history
  • Loading branch information
hamstar0 committed Jul 4, 2021
1 parent 7ab6918 commit d8d88ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Stamina/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,13 @@ public class StaminaConfig : ModConfig {

[Range( 0f, 1f )]
[DefaultValue( 0.08f )]
[CustomModConfigItem( typeof( FloatInputElement ) )]
[CustomModConfigItem( typeof( MyFloatInputElement ) )]
public float PercentOfDamageAdrenalineBurst = 0.08f;


[Range( 0f, 1000f )]
[DefaultValue( 12f )]
[CustomModConfigItem( typeof( FloatInputElement ) )]
[CustomModConfigItem( typeof( MyFloatInputElement ) )]
public float FatigueAmountFromExhaustion = 12f;

[Range( 0, 60 * 60 * 60 * 24 )]
Expand All @@ -245,7 +245,7 @@ public class StaminaConfig : ModConfig {

[Range( 0f, 1f )]
[DefaultValue( 0.24f )]
[CustomModConfigItem( typeof( FloatInputElement ) )]
[CustomModConfigItem( typeof( MyFloatInputElement ) )]
public float FatigueAsMaxStaminaPercentAmountNeeededForExercise = 0.24f;


Expand Down
2 changes: 1 addition & 1 deletion Stamina/build.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
author = hamstar
version = 2.1.1.3
version = 2.1.1.5
displayName = Stamina
modReferences = HamstarHelpers@5.2.0
buildIgnore = *.csproj, *.user, *.bat, obj\*, bin\*, .vs\*, .git\*
Expand Down

0 comments on commit d8d88ba

Please sign in to comment.