Orders are rejected in incorrect way [UnitAI]
All orders except few, which are ignored entirely, are rejected by calling FinishOrder
. They are supposed to return {"discardOrder": true}
This is problematic, because it makes entity to leave current state and enter idle for no reason.
Effect can be seen in idle -> refused attack -> idle. In ideal world it would never leave idle state when order is refused.
Even function PushOrder
is calling FinishOrder
when only one order is in queue and that one was rejected. It should just remove that order from queue as done correctly in PushOrderFront
.
Change History
(10)
Milestone: |
Alpha 24 → Backlog
|
Milestone: |
Backlog → Work In Progress
|
Owner: |
set to Freagarach
|
Patch: |
→ Phab:D3283
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Milestone: |
Work In Progress → Alpha 25
|
Resolution: |
fixed
|
Status: |
closed → reopened
|
Owner: |
Freagarach removed
|
Status: |
reopened → new
|
Milestone: |
Alpha 25 → Alpha 26
|
Milestone: |
Alpha 26 → Backlog
|
probably will not happen in a24