From ef66e10dd23911299dbe0ed22eac27c713eae64c Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 13 Feb 2015 09:31:16 -0800 Subject: [PATCH] Assets prefix fix --- templates/haxe/ApplicationMain.hx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/haxe/ApplicationMain.hx b/templates/haxe/ApplicationMain.hx index 99f2f9f8e..650478a8e 100644 --- a/templates/haxe/ApplicationMain.hx +++ b/templates/haxe/ApplicationMain.hx @@ -41,11 +41,15 @@ class ApplicationMain { for (i in 0...urls.length) { - urls[i] = config.assetsPrefix + urls[i]; + if (types[i] != AssetType.FONT) { + + urls[i] = config.assetsPrefix + urls[i]; + + } } - } + }} preloader.load (urls, types); #end