PhantomBadger / JumpKing-TwitchRavens

A Jump King Mod which lets Twitch/YouTube Chat spawn Ravens to relay messages to you whilst you climb! Now including the Chaos Mode/Modifiers mod!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fall Damage Modifier not handling culture well

WaldoAndFriends opened this issue · comments

I was planning on streaming Jump King with the fall damage mod.
However, by default the fall damage was set to 5 resulting in instant death. I figured this wasn't the intended behavior so I checked the docs and saw a screenshot with the value 0.05.

I suspect the code doesn't handle the user's culture well.
I'm from the Netherlands so we use a , as a separator instead of a .. This also results in me not being able to enter 0.05 via the numpad. However, I am able to enter 0,05 manually, but upon loading the settings this changes back to 5.

Fixed it temporarilly by setting the value in JumpKingModifiersMod.settings myself:

    "FallDamageModifier": "0.05",

Ah thank you! I'd caught the culture issue when loading the settings but not when writing them out from the installer - apologies for the inconvenience! I'll get a fix together in the next day or so :)

Fixed in submit 5cd4c2a
I'll prep a minor release when I get a sec

Following testing with Waldo, additional fix submitted in 2e76fd7

Fixed in Release v4.1a