Require manual Locale init, fixes Travis build
This commit is contained in:
@@ -18,7 +18,7 @@ abstract Locale(String) from String to String {
|
|||||||
public var region (get, never):String;
|
public var region (get, never):String;
|
||||||
|
|
||||||
|
|
||||||
private static function __init__ ():Void {
|
private static function __init ():Void {
|
||||||
|
|
||||||
var locale = null;
|
var locale = null;
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import lime.Assets;
|
|||||||
|
|
||||||
|
|
||||||
@:access(lime.app.Application)
|
@:access(lime.app.Application)
|
||||||
|
@:access(lime.system.Locale)
|
||||||
|
|
||||||
|
|
||||||
class ApplicationMain {
|
class ApplicationMain {
|
||||||
@@ -16,6 +17,8 @@ class ApplicationMain {
|
|||||||
|
|
||||||
public static function create ():Void {
|
public static function create ():Void {
|
||||||
|
|
||||||
|
lime.system.Locale.__init ();
|
||||||
|
|
||||||
preloader = new ::if (PRELOADER_NAME != "")::::PRELOADER_NAME::::else::lime.app.Preloader::end:: ();
|
preloader = new ::if (PRELOADER_NAME != "")::::PRELOADER_NAME::::else::lime.app.Preloader::end:: ();
|
||||||
|
|
||||||
#if !munit
|
#if !munit
|
||||||
|
|||||||
Reference in New Issue
Block a user