mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Change editor unsupported message to only appear when editor is selected
Showing the option on the "play a level" option feels to me as though inexperienced players would think they're not supposed to open the player levels, because the message says editor levels are unsupported, right? But the message is only referring to the level editor, so in my opinion, it's clearer to only show it there.
This commit is contained in:
parent
6549dc0113
commit
4e7bf86722
1 changed files with 9 additions and 6 deletions
|
@ -1664,13 +1664,16 @@ static void menurender(void)
|
||||||
case Menu::playerworlds:
|
case Menu::playerworlds:
|
||||||
if (game.editor_disabled)
|
if (game.editor_disabled)
|
||||||
{
|
{
|
||||||
if (SDL_GetHintBoolean("SteamDeck", SDL_FALSE))
|
if (game.currentmenuoption == 1)
|
||||||
{
|
{
|
||||||
font::print_wrap(PR_CEN, -1, 180, loc::gettext("The level editor is not currently supported on Steam Deck, as it requires a keyboard and mouse to use."), tr, tg, tb);
|
if (SDL_GetHintBoolean("SteamDeck", SDL_FALSE))
|
||||||
}
|
{
|
||||||
else
|
font::print_wrap(PR_CEN, -1, 180, loc::gettext("The level editor is not currently supported on Steam Deck, as it requires a keyboard and mouse to use."), tr, tg, tb);
|
||||||
{
|
}
|
||||||
font::print_wrap(PR_CEN, -1, 180, loc::gettext("The level editor is not currently supported on this device, as it requires a keyboard and mouse to use."), tr, tg, tb);
|
else
|
||||||
|
{
|
||||||
|
font::print_wrap(PR_CEN, -1, 180, loc::gettext("The level editor is not currently supported on this device, as it requires a keyboard and mouse to use."), tr, tg, tb);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue