1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

Fix #14107: Mark the company value in the company view window dirty when it changes. (#14112)

This commit is contained in:
Peter Nelson
2025-04-26 12:56:11 +01:00
committed by GitHub
parent dfd9fbf873
commit 4a5db57f7b

View File

@@ -229,6 +229,7 @@ void InvalidateCompanyWindows()
w->SetWidgetDirty(WID_CF_OWN_VALUE);
w->SetWidgetDirty(WID_CF_BALANCE_VALUE);
}
SetWindowWidgetDirty(WC_COMPANY, cid, WID_C_DESC_COMPANY_VALUE);
}
_dirty_company_finances = {};
}