gardenshade / mam-plus

Tweaks & functionality for MAM
83 stars 6 forks source link

[Bug] Shorten Ratio Text causes issues with standalone Ratio Protect script #233

Open gardenshade opened 10 months ago

gardenshade commented 10 months ago

Description:

If MAM+ is installed with Shorten Ratio Text enabled, and the standalone Ratio Protect script is also installed, NaN errors can occur. Investigate if this also happens with the built-in Ratio Protect.

Expected Behavior:

Peaceful coexistence without errors.

Other:

/f/t/60213/p/p852241#852241

gardenshade commented 10 months ago

Thanks to sevensamurai, this appears to be an issue with toLocalString; forcing en-US seems to help. /f/t/60213/p/p853795#853795