Run clearAssets only on non display
This commit is contained in:
+5
-2
@@ -1406,8 +1406,11 @@ class Project extends HXProject
|
||||
|
||||
function configureAssets()
|
||||
{
|
||||
// Delete the assets folder from the export folder before adding anything.
|
||||
clearAssets();
|
||||
if (!isDisplay())
|
||||
{
|
||||
// Delete the assets folder from the export folder before adding anything.
|
||||
clearAssets();
|
||||
}
|
||||
|
||||
var exclude = EXCLUDE_ASSETS.concat(isWeb() ? EXCLUDE_ASSETS_WEB : EXCLUDE_ASSETS_NATIVE);
|
||||
var shouldPreload = PRELOAD_ALL.isEnabled(this);
|
||||
|
||||
Reference in New Issue
Block a user