Skip to content

Commit

Permalink
ChaosMod: Use default weight multiplier value if config value is < 0
Browse files Browse the repository at this point in the history
Fixes weight multiplier being set to invalid value if config value is set to default
  • Loading branch information
pongo1231 committed Aug 22, 2023
1 parent 5ebea8f commit 72ff1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChaosMod/Effects/EffectConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ namespace EffectConfig
: configValues.TimedType;
}

if (configValues.WeightMult)
if (configValues.WeightMult > 0)
{
effectData.WeightMult = configValues.WeightMult;
}
Expand Down

0 comments on commit 72ff1c1

Please sign in to comment.