From 63a17d8884a873cfd932a0559e3df21bef433ff6 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 21 Oct 2016 15:24:24 -0700 Subject: [PATCH] Move DefaultAssetLibrary registeration to ApplicationMain template --- lime/Assets.hx | 2 +- templates/haxe/ApplicationMain.hx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lime/Assets.hx b/lime/Assets.hx index cc94b0b83..661f5a0e1 100644 --- a/lime/Assets.hx +++ b/lime/Assets.hx @@ -436,7 +436,7 @@ class Assets { #if (tools && !display) - registerLibrary ("default", new DefaultAssetLibrary ()); + //registerLibrary ("default", new DefaultAssetLibrary ()); #end diff --git a/templates/haxe/ApplicationMain.hx b/templates/haxe/ApplicationMain.hx index 9f6b3e1a3..af68dd2c1 100644 --- a/templates/haxe/ApplicationMain.hx +++ b/templates/haxe/ApplicationMain.hx @@ -16,6 +16,8 @@ class ApplicationMain { public static function main () { + lime.Assets.registerLibrary ("default", new DefaultAssetLibrary ()); + config = { build: "::meta.buildNumber::",