#910 closed defect (fixed)
Units disappear if ungarissoned too fast
Reported by: | vts | Owned by: | Deiz |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 11 |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
If several units are garrisoned inside a building and you ungarrison them all individually by clicking the unload button really fast, units are sometimes lost. The number of units that is garrisoned does not seem to matter, as I have observed it to happen even for 2 units.
To reproduce:
- Start a new singleplayer game on Gallic Fields.
- Select more than 2 of the starting units and garrison them in the Palisade Fort closest to the camera.
- Select the palisade fort, set a rally point, and keep hitting the single-unit unload button as fast as you can.
- Observe how fewer units exit the fort than were originally garrisoned.
Change History (5)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
OK, submitted a fix for the really bad part of this bug, you'll just have to click a little more slowly now, but nothing will disappear :)
The problem is after successfully ejecting a unit, there is still a short time when the UI is bound to the old garrison state and this button happens to reference the unit previously ejected. Now the simulation will check and give an error message. I'm not sure how to fix this on the UI side to really fix this, maybe putting a delay in how fast you can click the button, one click per GUI tick.
comment:4 by , 12 years ago
Milestone: | Backlog → Alpha 11 |
---|
(In [10192]) Fixes garrisoned units disappearing when eject occurs too frequently. See #910.