Fix delivered cargo graph displaying units as money

This commit is contained in:
dP
2020-08-10 01:51:07 +03:00
parent 0b1deb7de4
commit 83d06423c3
2 changed files with 4 additions and 2 deletions

View File

@@ -934,7 +934,7 @@ void ShowIncomeGraph()
struct DeliveredCargoGraphWindow : ExcludingCargoBaseGraphWindow {
DeliveredCargoGraphWindow(WindowDesc *desc, WindowNumber window_number) :
ExcludingCargoBaseGraphWindow(desc, WID_CPR_GRAPH, STR_JUST_CURRENCY_SHORT, false)
ExcludingCargoBaseGraphWindow(desc, WID_CPR_GRAPH, STR_JUST_COMMA, false)
{
this->CreateNestedTree();
this->vscroll = this->GetScrollbar(WID_CPR_MATRIX_SCROLLBAR);