Skip to content

Commit

Permalink
formal sandbox fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ntut-Tu committed Jun 14, 2024
1 parent dc10fd4 commit 6b849b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/Scene/MenuScene.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ class MenuScene : public Scene {
->getUIStatus()
->getUIStatusType() == UIStatusType::UI_CONTINUE) {
m_CurrentMode = SceneMode::SKIRMISH;
m_MenuUI.getUIStatus()->setUIStatusType(
UIStatusType::UI_DEFAULT);
m_SandBoxScene->setStage(true);
}
}

Expand All @@ -77,6 +80,7 @@ class MenuScene : public Scene {
break;
case (SceneMode::SKIRMISH):
// skirmish update()
m_SandBoxScene->Update();
break;
}
}
Expand Down

0 comments on commit 6b849b7

Please sign in to comment.