Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10865 from EtherealEngine/fix-prefab-patch
Browse files Browse the repository at this point in the history
fix prefab patch
  • Loading branch information
DanielBelmes authored Aug 5, 2024
2 parents 67e9ff2 + 453e325 commit 75fc189
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default function CreatePrefabPanel({ entity }: { entity: Entity }) {
}
const resource = resources.data[0]
const tags = [...prefabTag.value]
await Engine.instance.api.service(staticResourcePath).patch(resource.id, { tags: tags })
await Engine.instance.api.service(staticResourcePath).patch(resource.id, { tags: tags, project: srcProject })

removeEntity(prefabEntity)
EditorControlFunctions.removeObject([entity])
Expand Down

0 comments on commit 75fc189

Please sign in to comment.