diff --git a/project.hxp b/project.hxp index b9896eba4..8c9e8cd74 100644 --- a/project.hxp +++ b/project.hxp @@ -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);