Compile fix

This commit is contained in:
Joshua Granick
2018-08-09 12:06:51 -07:00
parent b86aea2893
commit 6ec3275c77

View File

@@ -768,8 +768,7 @@ class AssetLibrary {
for (asset in manifest.assets) {
size = hasSize ? asset.size : 100;
if (size == null) size = 100;
size = hasSize && Reflect.hasField (asset, "size") ? asset.size : 100;
id = asset.id;
if (Reflect.hasField (asset, "path")) {