Skip to content

Commit

Permalink
fix: fix component property references not working if property path h…
Browse files Browse the repository at this point in the history
…as multiple path components
  • Loading branch information
Silverlan committed Feb 5, 2023
1 parent fed2d66 commit 41bb680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/shared/src/entities/baseentity_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ bool BaseEntity::CreateMemberReference(pragma::EntityIdentifier identifier, std:
return true;
}
auto componentName = path.GetComponent(offset, &offset);
auto memberName = path.GetComponent(offset, &offset);
auto memberName = path.GetString().substr(offset);
outRef = pragma::EntityUComponentMemberRef {std::move(identifier), std::string {componentName}, std::string {memberName}};
return true;
}
Expand Down

0 comments on commit 41bb680

Please sign in to comment.