Fixing the timer

This commit is contained in:
Zoe Roux
2021-06-18 12:04:33 +02:00
parent de5c7016d9
commit 1bcbdcdd01
3 changed files with 9 additions and 12 deletions
+2
View File
@@ -70,6 +70,8 @@ namespace BBM
break;
}
}
if (gameState.nextScene != GameState::SceneID::GameScene)
engine.getSystem<CameraSystem>().hasEnded = false;
}
if (gameState.nextScene == gameState.currentScene)
return;