forked from rosebudai/OpenRCT2-Web
Close #13386: Show a GUI error message if en-GB.txt cannot be loaded
This commit is contained in:
1 parent
5b24a9accc
commit
af6512da19
1 file changed
+2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user