Skip to content

Commit

Permalink
#1399 Fix comment override prefab example
Browse files Browse the repository at this point in the history
  • Loading branch information
Indra-db authored Oct 15, 2024
1 parent 7aa1196 commit 6b8112e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cpp/prefabs/override/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ int main() {
ecs.component<Attack>().add(flecs::OnInstantiate, flecs::Inherit);
ecs.component<Defense>().add(flecs::OnInstantiate, flecs::Inherit);

// Attack and Damage are properties that can be shared across many
// Attack and Defense are properties that can be shared across many
// spaceships. This saves memory, and speeds up prefab creation as we don't
// have to copy the values of Attack and Defense to private components.
flecs::entity SpaceShip = ecs.prefab("SpaceShip")
Expand Down

0 comments on commit 6b8112e

Please sign in to comment.