mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-01 09:45:42 +00:00
Merge branch 'fixes' of github.com:AnonymusRaccoon/Bomberman into ai_script
This commit is contained in:
@@ -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>();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user