mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 19:02:04 -05:00
Close #13386: Show a GUI error message if en-GB.txt cannot be loaded
This commit is contained in:
parent
5b24a9accc
commit
af6512da19
1 changed files with 2 additions and 0 deletions
|
@ -364,6 +364,8 @@ namespace OpenRCT2
|
|||
catch (const std::exception& eFallback)
|
||||
{
|
||||
log_fatal("Failed to open fallback language: %s", eFallback.what());
|
||||
auto uiContext = GetContext()->GetUiContext();
|
||||
uiContext->ShowMessageBox("Failed to load language file!\nYour installation may be damaged.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue