mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-29 08:52:06 +00:00
Merge pull request #260 from AnonymusRaccoon/fix_pause
Fixing the pause movements
This commit is contained in:
@@ -63,9 +63,7 @@ namespace BBM
|
||||
entity.scheduleDeletion();
|
||||
|
||||
for (auto &[entity, controller, _] : gameScene->view<ControllableComponent, HealthComponent>()) {
|
||||
controller.disabled = true;
|
||||
controller.pause = false;
|
||||
controller.bomb = false;
|
||||
controller.disable();
|
||||
}
|
||||
for (auto &[_, timer] : gameScene->view<TimerComponent>())
|
||||
timer.disabled = true;
|
||||
|
||||
Reference in New Issue
Block a user