diff options
author | heavydemon21 <48092678+heavydemon21@users.noreply.github.com> | 2025-01-10 14:44:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-10 14:44:59 +0100 |
commit | 798237b661e8e49284e78ffb1a16599cf6a46a6d (patch) | |
tree | 8f4881cf4abc58774625383620cf82fa55b9d1f0 /game/menus/mainmenu/MainMenuScene.cpp | |
parent | bb2db93bfb8dd7e080d2708548eae660e6b33913 (diff) | |
parent | d1cebcca2018ed4ef47ad125e45aafd018a2ab2e (diff) |
Merge pull request #125 from lonkaars/niels/game
missile alerts
Diffstat (limited to 'game/menus/mainmenu/MainMenuScene.cpp')
-rw-r--r-- | game/menus/mainmenu/MainMenuScene.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/game/menus/mainmenu/MainMenuScene.cpp b/game/menus/mainmenu/MainMenuScene.cpp index baeca39..c5d2030 100644 --- a/game/menus/mainmenu/MainMenuScene.cpp +++ b/game/menus/mainmenu/MainMenuScene.cpp @@ -2,6 +2,7 @@ #include "MainMenuScene.h" #include "CreditsSubScene.h" #include "MainMenuConfig.h" +#include "QuitScript.h" #include "TransitionStartSubScript.h" #include "../ButtonSubScene.h" @@ -33,6 +34,7 @@ void MainMenuScene::load_scene() { } ); camera_object.add_component<BehaviorScript>().set_script<TransitionStartSubScript>(); + camera_object.add_component<BehaviorScript>().set_script<QuitScript>(); //Button menu GameObject menu_button = this->new_object(MENU_BUTTON_NAME, MENU_BUTTON_NAME, MENU_OFFSET); |