Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#5557 closed defect (fixed)

Garrison pickup bug.

Reported by: Freagarach Owned by: Silier
Priority: Should Have Milestone: Alpha 24
Component: Simulation Keywords:
Cc: Patch: Phab:D2174

Description

As discovered in Phab:D665, when one tasks unit A to garrison ship 1, ship 1 tries to pickup unit A. When tasking unit A to garrison ship 2 before it has reached ship 1, ship 1 still follows unit A and ship 2 does not try to pickup unit A. This is caused by unit A not changing states thus not going through "leave" (thus not resetting "this.pickup").

Change History (2)

comment:1 by Silier, 4 years ago

Owner: set to Silier
Resolution: fixed
Status: newclosed

In 23268:

Fix second tasked garrison holder to pickup not reacting properly

Move some pickup logic to Approaching state from parent Garrison state to react to state changes among childrens of Garrison state properly.

Reported by: causative
Patch by: Freagarach
Fixes: #5557
Differential Revision: https://code.wildfiregames.com/D2174

comment:2 by Silier, 4 years ago

Milestone: Work In ProgressAlpha 24
Note: See TracTickets for help on using tickets.