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:
parent
68d558c9d7
commit
b67d4bdd50
1 changed files with 6 additions and 9 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue