1
Fork 0
mirror of https://github.com/thegeneralist01/Scene-Manager-DevRepo synced 2026-01-11 15:40:29 +01:00

Added #ifdebug preprocessor for test version subtitle message.

This commit is contained in:
Rich Dunne 2020-09-14 10:52:01 -06:00
parent 68d558c9d7
commit b67d4bdd50

View file

@ -8,18 +8,15 @@ namespace SceneManager
{ {
while (true) while (true)
{ {
// Keyboard
GetKeyboardInput(); GetKeyboardInput();
// Controller
GetControllerInput(); GetControllerInput();
// Display this message for test versions only #if DEBUG
//if (MainMenu.mainMenu.Visible) if (MenuManager.menuPool.IsAnyMenuOpen())
//{ {
// Game.DisplaySubtitle($"You are using a test build of Scene Manager. Please report any bugs/crashes in the Discord server."); Game.DisplaySubtitle($"You are using a test build of Scene Manager. Please report any bugs/crashes in the Discord server.");
//} }
#endif
MenuManager.menuPool.ProcessMenus(); MenuManager.menuPool.ProcessMenus();
GameFiber.Yield(); GameFiber.Yield();
} }