globally fix number parsing on non-english systems
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using System.Globalization;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace OpenRA
|
namespace OpenRA
|
||||||
{
|
{
|
||||||
@@ -28,6 +30,9 @@ namespace OpenRA
|
|||||||
[STAThread]
|
[STAThread]
|
||||||
static void Main( string[] args )
|
static void Main( string[] args )
|
||||||
{
|
{
|
||||||
|
// brutal hack
|
||||||
|
Application.CurrentCulture = CultureInfo.InvariantCulture;
|
||||||
|
|
||||||
if( Debugger.IsAttached )
|
if( Debugger.IsAttached )
|
||||||
{
|
{
|
||||||
Run( args );
|
Run( args );
|
||||||
|
|||||||
Reference in New Issue
Block a user