Replace no level editor string

This commit is contained in:
AllyTally
2023-08-24 11:11:43 -03:00
committed by Misa Elizabeth Kai
parent 4830a6e8c1
commit 8f3c587f7a
2 changed files with 10 additions and 2 deletions

View File

@@ -1664,7 +1664,14 @@ static void menurender(void)
case Menu::playerworlds:
if (game.editor_disabled)
{
font::print_wrap(PR_CEN, -1, 180, loc::gettext("This version of the game does not support the level editor, but it might be supported in the future."), tr, tg, tb);
if (SDL_GetHintBoolean("SteamDeck", SDL_FALSE))
{
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);
}
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
{