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)
{
// Keyboard
GetKeyboardInput();
// Controller
GetControllerInput();
// Display this message for test versions only
//if (MainMenu.mainMenu.Visible)
//{
// Game.DisplaySubtitle($"You are using a test build of Scene Manager. Please report any bugs/crashes in the Discord server.");
//}
#if DEBUG
if (MenuManager.menuPool.IsAnyMenuOpen())
{
Game.DisplaySubtitle($"You are using a test build of Scene Manager. Please report any bugs/crashes in the Discord server.");
}
#endif
MenuManager.menuPool.ProcessMenus();
GameFiber.Yield();
}