Compile fix
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user