Open Gathaeryx opened 2 years ago
Found the issue:
Because you are using ,
as decimal separator Beautify()
returns the current magic level with a ,
and the calculation then doesn't understand that string.
Changing Beautify()
to return a float
instead of string
would require a major refactor of the code so that also doesn't work.
I'm going to think about a solution. In the meantime, using the standard decimal separator option will fix this issue temporarily!
Describe the bug Magic Meter keeps showing current amount of magic as "NaN" instead of the actual amount
To Reproduce The steps needed to reproduce the behavior:
Screenshots![image](https://user-images.githubusercontent.com/63103581/132094865-a3928185-313b-435b-b211-1140c4e1f3f3.png)
Save file
Browser Chrome/Firefox