Fix second colour vehicle-type default liveries not being updated

When changing company default second colour
This commit is contained in:
Jonathan G Rennison
2024-02-03 23:11:49 +00:00
parent ff0c77ee3b
commit 736539280b

View File

@@ -1122,7 +1122,7 @@ CommandCost CmdSetCompanyColour(TileIndex tile, DoCommandFlag flags, uint32_t p1
c->livery[scheme].colour2 = colour;
if (scheme == LS_DEFAULT) {
UpdateCompanyGroupLiveries(c);
UpdateCompanyLiveries(c);
}
}