diff --git a/unity/Assets/Scripts/QuestEditor/QuestEditSelection.cs b/unity/Assets/Scripts/QuestEditor/QuestEditSelection.cs index 1ff838bf0..c787fdd71 100644 --- a/unity/Assets/Scripts/QuestEditor/QuestEditSelection.cs +++ b/unity/Assets/Scripts/QuestEditor/QuestEditSelection.cs @@ -226,6 +226,13 @@ public void Copy(string key) } string targetLocation = dataLocation + "/Editor" + game.gameType.QuestName().Translate() + i; + // Fully extract this scenario before copy if this is a package + if (Path.GetExtension(Path.GetFileName(key)) == ".valkyrie") + { + // extract the full package + QuestLoader.ExtractSinglePackageFull(ContentData.DownloadPath() + Path.DirectorySeparatorChar + Path.GetFileName(key)); + } + // Copy files try {