From ba5f8c91c8f6f6990956e2e8e261f19bc573ed5d Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Thu, 27 Oct 2016 16:06:16 -0700 Subject: [PATCH] Compile fix --- templates/haxe/ApplicationMain.hx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/haxe/ApplicationMain.hx b/templates/haxe/ApplicationMain.hx index 2986cfa2d..fbf75ea30 100644 --- a/templates/haxe/ApplicationMain.hx +++ b/templates/haxe/ApplicationMain.hx @@ -79,12 +79,12 @@ class ApplicationMain { ::foreach assets::::if (embed):: urls.push ("::resourceName::"); - ::if (type == "image")::types.push (AssetType.IMAGE); - ::elseif (type == "binary")::types.push (AssetType.BINARY); - ::elseif (type == "text")::types.push (AssetType.TEXT); - ::elseif (type == "font")::types.push (AssetType.FONT); - ::elseif (type == "sound")::types.push (AssetType.SOUND); - ::elseif (type == "music")::types.push (AssetType.MUSIC); + ::if (type == "image")::types.push (lime.Assets.AssetType.IMAGE); + ::elseif (type == "binary")::types.push (lime.Assets.AssetType.BINARY); + ::elseif (type == "text")::types.push (lime.Assets.AssetType.TEXT); + ::elseif (type == "font")::types.push (lime.Assets.AssetType.FONT); + ::elseif (type == "sound")::types.push (lime.Assets.AssetType.SOUND); + ::elseif (type == "music")::types.push (lime.Assets.AssetType.MUSIC); ::else::types.push (null);::end:: ::end::::end:: @@ -92,7 +92,7 @@ class ApplicationMain { for (i in 0...urls.length) { - if (types[i] != AssetType.FONT) { + if (types[i] != lime.Assets.AssetType.FONT) { urls[i] = config.assetsPrefix + urls[i];