Refresh trace restrict slots window as with the train list window

This commit is contained in:
Jonathan G Rennison
2018-08-15 19:38:56 +01:00
parent acdeaa715e
commit 60cc1a48ac
6 changed files with 14 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ void CcBuildWagon(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p
/* put the new wagon at the end of the loco. */
DoCommandP(0, _new_vehicle_id, found->index, CMD_MOVE_RAIL_VEHICLE);
InvalidateWindowClassesData(WC_TRAINS_LIST, 0);
InvalidateWindowClassesData(WC_TRACE_RESTRICT_SLOTS, 0);
}
}