Changes between Initial Version and Version 1 of Ticket #4131, comment 2
- Timestamp:
- Aug 13, 2016, 11:09:10 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4131, comment 2
initial v1 1 1 * How can we reproduce the bug? Was it related to that comment? 2 3 It's fully reproducible in the replay you provided. And no relation with the comment which imo is already taking into account. The problem is when changing ownership, UnitAI does a Stop which stops the trading route, but the route content in the Trader component was not reset (now done with the StopTrading). In addition, WorkOrders were not reset (now done). 4 2 5 * Perhaps there could be some test that ensures that a trade cart has no more work orders after ownership change etc.? 6 7 Not needed after the patch. 8 3 9 * This one hunk could become `return this.MoveToPoint(point.x, point.z)) || this.MoveToMarket(targetMarket)` 10 11 Yes, this should work too.