Merge branch 'fixes' of github.com:AnonymusRaccoon/Bomberman into ai_script

This commit is contained in:
Bluub
2021-06-19 16:01:52 +02:00
4 changed files with 7 additions and 4 deletions
+3 -1
View File
@@ -122,7 +122,9 @@ namespace BBM
return;
entity.getComponent<ControllableComponent>().disabled = true;
entity.addComponent<TimerComponent>(1s, [](WAL::Entity &ent, WAL::Wal &) {
ent.scheduleDeletion();
ent.removeComponent<SoundComponent>();
ent.removeComponent<CollisionComponent>();
ent.removeComponent<PositionComponent>();
});
});
}