#2340 closed defect (fixed)
[PATCH] Units loose orders after town bell (alert)
Reported by: | Michael | Owned by: | Michael |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 16 |
Component: | UI & Simulation | Keywords: | alert bell patch |
Cc: | Patch: |
Description (last modified by )
In a special case units lose their orders after the bell was deactivated:
Steps to reproduce:
- give citizens a job (f.e. get some food)
- ring the TWO levels of the alert fast one after each other
- Stop the alert before the citizens reach the shelter
--> They will go to the RallyPoint
Attachments (2)
Change History (12)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
Keywords: | bell review patch added |
---|---|
Summary: | Units loose orders after town bell (alert) → [PATCH] Units loose orders after town bell (alert) |
by , 10 years ago
Attachment: | AlertRaiser.js.patch added |
---|
follow-up: 4 comment:3 by , 10 years ago
I handled the case in a previous version of the bell, I forgot it there.
Anyway, I think it would be clearer this way (see attached patch). Thanks for finding the issue !
by , 10 years ago
Attachment: | townbellfix.patch added |
---|
follow-up: 5 comment:4 by , 10 years ago
Replying to Itms:
I handled the case in a previous version of the bell, I forgot it there.
Anyway, I think it would be clearer this way (see attached patch). Thanks for finding the issue !
Yes, looks better. I did not found this function. :)
comment:5 by , 10 years ago
There's another problem:
If you produce units after the alert is active, they do not go into the garrison.
Or is that a feature ?
comment:6 by , 10 years ago
Let's say it's a missing feature. ;-)
But it's a good idea, and I'm wondering if the produce-then-garrison feature was present in the game when I worked on the alert.
If you want, I can work on this feature, knowing the code I think I can do it rather quickly.
comment:7 by , 10 years ago
Missing feature is good.
Yes, I would like that. I already tried to add it by myself but until now it only works for units which where produced in the civic center.
Checks, if a unit is already on its way to the garrison and if, don't send it again.