This commit is contained in:
Askou
2021-06-17 10:29:56 +02:00
parent 6ca2b90291
commit 933a96c449
+1 -1
View File
@@ -81,8 +81,8 @@ namespace BBM
.addComponent<PlayerBonusComponent>()
.addComponent<HealthComponent>(1, [](WAL::Entity &entity, WAL::Wal &) {
auto &animation = entity.getComponent<AnimationsComponent>();
animation.setAnimIndex(5);
animation.setAnimIndex(5);
if (entity.hasComponent<ControllableComponent>())
entity.removeComponent<ControllableComponent>();
if (entity.hasComponent<TimerComponent>())