Skip to content

Commit

Permalink
Merge pull request #5 from ntut-Tu/merge
Browse files Browse the repository at this point in the history
formal sandbox fix
  • Loading branch information
ntut-Tu authored Jun 14, 2024
2 parents e5f9871 + 6b849b7 commit e830281
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);
}
}
if (m_TutorialScene->getMissionAccomplishedUI()
Expand All @@ -82,6 +85,7 @@ class MenuScene : public Scene {
break;
case (SceneMode::SKIRMISH):
// skirmish update()
m_SandBoxScene->Update();
break;
}
}
Expand Down

0 comments on commit e830281

Please sign in to comment.