Merge pull request #260 from AnonymusRaccoon/fix_pause

Fixing the pause movements
This commit is contained in:
Clément Le Bihan
2021-06-20 19:28:07 +02:00
committed by GitHub
4 changed files with 12 additions and 4 deletions
+1 -3
View File
@@ -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;