Compile fix

This commit is contained in:
Joshua Granick
2016-10-27 16:06:16 -07:00
parent 73fd352301
commit ba5f8c91c8

View File

@@ -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];