mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-03 10:26:29 +00:00
added speed to the save
This commit is contained in:
@@ -53,7 +53,6 @@ namespace BBM
|
||||
if (gameState.currentScene == GameState::SceneID::GameScene || gameState.currentScene == GameState::SceneID::SplashScreen) {
|
||||
for (auto &[_, component]: engine.getScene()->view<ControllableComponent>()) {
|
||||
if (component.pause && gameState.currentScene == GameState::SceneID::GameScene) {
|
||||
ParserYAML::save(engine.getScene());
|
||||
gameState.nextScene = GameState::SceneID::PauseMenuScene;
|
||||
break;
|
||||
} else if (gameState.currentScene == GameState::SceneID::SplashScreen && component.jump) {
|
||||
|
||||
Reference in New Issue
Block a user