mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 08:12:53 +01:00
Improve warning if language files cannot be loaded on Android
This commit is contained in:
committed by
GitHub
parent
6f9d317edf
commit
3c03fa308d
@@ -439,7 +439,13 @@ namespace OpenRCT2
|
||||
{
|
||||
LOG_FATAL("Failed to open fallback language: %s", eFallback.what());
|
||||
auto uiContext = GetContext()->GetUiContext();
|
||||
#ifdef __ANDROID__
|
||||
uiContext->ShowMessageBox(
|
||||
"You need to copy some additional files to finish your install.\n\nSee "
|
||||
"https://docs.openrct2.io/en/latest/installing/installing-on-android.html for more details.");
|
||||
#else
|
||||
uiContext->ShowMessageBox("Failed to load language file!\nYour installation may be damaged.");
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user