1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00

Make sure to update the screen after displaying an error

This commit is contained in:
Michał Janiszewski
2022-08-02 08:37:11 +02:00
parent c25ebdd1c8
commit e146ca0853

View File

@@ -2317,6 +2317,7 @@ int32_t scenario_save(u8string_view path, int32_t flags)
Formatter ft;
ft.Add<const char*>(e.what());
context_show_error(STR_FILE_DIALOG_TITLE_SAVE_SCENARIO, STR_STRING, ft);
gfx_invalidate_screen();
auto ctx = OpenRCT2::GetContext();
auto uictx = ctx->GetUiContext();