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