Skip to content

Commit

Permalink
fix: unexpected character in HeroMonsterEntityFactory (gaia-ecs)
Browse files Browse the repository at this point in the history
  • Loading branch information
abeimler committed Feb 29, 2024
1 parent 62173c3 commit 599d64a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void HeroMonsterEntityFactory::addComponents(EntityManager& entities, Entity ent
.add<ecs::benchmarks::base::components::HealthComponent>()
.add<ecs::benchmarks::base::components::DamageComponent>()
.add<ecs::benchmarks::base::components::SpriteComponent>();
if (!entities.has<ecs::benchmarks::base::components::PositionComponent>(entity)) {
if (!entities.has<ecs::benchmarks::base::components::PositionComponent>(entity)) {
builder.add<ecs::benchmarks::base::components::PositionComponent>();
}
builder.commit();
Expand Down

0 comments on commit 599d64a

Please sign in to comment.