briochie / wow.unity

A collection of assets to make working with wow.export easier in Unity.
MIT License
18 stars 8 forks source link

Ensure parsing floats works for cultures with different decimal separator #11

Closed oyvind-stromsvik closed 1 year ago

oyvind-stromsvik commented 1 year ago

Ref. #2

I think this is the way to fix it at least. It now correctly parses these american files in my country at least where comma is normally expected as the decimal separator. I haven't tested on an american computer to verify I didn't just break it there instead :p And I'm a noob at these things. This is just based on Googling and trial and error.

briochie commented 1 year ago

Yeah! That's more or less what I was planning to do.