From af6512da19fd3f47462bb695424c6af3294b06bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20P=C4=99kalski?= Date: Wed, 16 Dec 2020 13:21:07 +0100 Subject: [PATCH] Close #13386: Show a GUI error message if en-GB.txt cannot be loaded --- src/openrct2/Context.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openrct2/Context.cpp b/src/openrct2/Context.cpp index ea4bd956aa..e67fabe32d 100644 --- a/src/openrct2/Context.cpp +++ b/src/openrct2/Context.cpp @@ -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; } }