diff options
-rw-r--r-- | game/menus/ButtonSetMainMenuSubScript.h | 1 | ||||
-rw-r--r-- | game/menus/ButtonSetShopSubScript.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/game/menus/ButtonSetMainMenuSubScript.h b/game/menus/ButtonSetMainMenuSubScript.h index 0feefdd..2fb2634 100644 --- a/game/menus/ButtonSetMainMenuSubScript.h +++ b/game/menus/ButtonSetMainMenuSubScript.h @@ -8,6 +8,7 @@ class ButtonSetMainMenuSubScript : public IButtonScript { public: void init() override; bool on_button_press(const crepe::ButtonPressEvent & e); + protected: bool transition = false; }; diff --git a/game/menus/ButtonSetShopSubScript.h b/game/menus/ButtonSetShopSubScript.h index 64d0bf5..4017a4c 100644 --- a/game/menus/ButtonSetShopSubScript.h +++ b/game/menus/ButtonSetShopSubScript.h @@ -8,6 +8,7 @@ class ButtonSetShopSubScript : public IButtonScript { public: void init() override; bool on_button_press(const crepe::ButtonPressEvent & e); + protected: bool transition = false; }; |