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

Commit

Permalink
UUID resolution hotfix hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
dinomut1 committed May 25, 2024
1 parent c3d4bf3 commit 20992c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default class EEECSImporterExtension extends ImporterExtension implements
if (component === UUIDComponent) {
const uuid = ecsExtensions[jsonID]
//check if uuid already exists
if (UUIDComponent.entitiesByUUIDState[uuid].value) {
if (UUIDComponent.entitiesByUUIDState[uuid]?.value) {
//regenerate uuid if it already exists
ecsExtensions[jsonID] = generateEntityUUID()
}
Expand Down

0 comments on commit 20992c0

Please sign in to comment.