Fix empty asset manifest

This commit is contained in:
Joshua Granick
2017-03-03 13:59:16 -08:00
parent e375e24959
commit e174d030ce

View File

@@ -288,6 +288,7 @@ class AssetHelper {
asset = new Asset ("", "manifest/" + library.name + ".json", AssetType.MANIFEST);
asset.library = library.name;
asset.data = manifest.serialize ();
if (manifest.assets.length == 0) asset.embed = true;
project.assets.push (asset);
}