DrMeepso / WebFishingCove

A dedicated server for WebFishing!
43 stars 7 forks source link

Localization fix in WorldFile loader #18

Closed erbelion closed 2 days ago

erbelion commented 2 days ago

when i tried to run the project in visual studio, i stumbled upon the error shown below. float.Parse() expected a comma in string, not a dot. probably due to my locale (pl_PL). fixed it by applying CultureInfo.InvariantCulture as a second argument in float parser.

fix

DrMeepso commented 2 days ago

oo interesting, didn't know dotnet didn't do this by default!