FS#6423 - re-cache vehicle properties in depot
In xUSSR set I use code like this
switch (FEAT_TRAINS, SELF, e_e_power, date_of_last_service >= date(1920,1,1))
0: return get_power_in_cb(1100);
It is intended, that when a train visits a depot after specified day, it changes the power to the new value (got automatically upgraded).
Unfortunately, the game changes the power not in depot, but several days later. I suppose, it caches the value and updates the cache while the train is outside depot.
It would be nice, if visiting the depot would force properties recache, guaranteeing that a change happens in depot.
This task depends upon