From bc4bb1bec70d64bc30d70483296235a6025e28e4 Mon Sep 17 00:00:00 2001 From: PhaserEditor2D Date: Tue, 16 Nov 2021 06:46:09 -0500 Subject: [PATCH] Runs origin migration on nested prefabs too. --- .../src/core/migrations/OriginMigration_v2_to_v3.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/editor/plugins/phasereditor2d.scene/src/core/migrations/OriginMigration_v2_to_v3.ts b/source/editor/plugins/phasereditor2d.scene/src/core/migrations/OriginMigration_v2_to_v3.ts index 345671c78..f96281163 100644 --- a/source/editor/plugins/phasereditor2d.scene/src/core/migrations/OriginMigration_v2_to_v3.ts +++ b/source/editor/plugins/phasereditor2d.scene/src/core/migrations/OriginMigration_v2_to_v3.ts @@ -35,6 +35,11 @@ namespace phasereditor2d.scene.core.migrations { await this.migrateList(obj.list); } + + if (obj.nestedPrefabs) { + + await this.migrateList(obj.nestedPrefabs); + } } } }