mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-19 18:35:48 +01:00
Fix: Second colour vehicle-type default liveries not being updated
When changing company default second colour
This commit is contained in:
parent
d5e936c9d4
commit
cb13ee90ef
@ -1046,7 +1046,7 @@ CommandCost CmdSetCompanyColour(DoCommandFlag flags, LiveryScheme scheme, bool p
|
|||||||
c->livery[scheme].colour2 = colour;
|
c->livery[scheme].colour2 = colour;
|
||||||
|
|
||||||
if (scheme == LS_DEFAULT) {
|
if (scheme == LS_DEFAULT) {
|
||||||
UpdateCompanyGroupLiveries(c);
|
UpdateCompanyLiveries(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user