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)
|
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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue