Closed KroArtem closed 8 years ago
You mean that the unit training can be cancelled despite it having already appeared? If so, yes, this should absolutely be changed (I had never noticed it before). I'll take a look at the issue.
Proof:
Moreover, if you cancel this unit when it's 100%, another one will start creating (even though it shouldn't)
I don't see anything wrong with that screenshot (other than the numbers floating above the units, which is a little odd)? And yes, if you cancel that unit another will begin producing, since there is another in the queue there.
Well, from my point of view (and it is based on old AoE, AoE II) if the limit is already reached, there is no need to create unit till 100% and only then say "insufficient supply"
Ah, I see what you mean now. Fixed: https://github.com/Andrettin/Wyrmgus/commit/56fc86fda55a69975955438ca84c68145b605dfe
Now this check is done when a player is 100% created and the only thing that is needed is to increment units number and release this unit from building. From my point of view this check should be done before the creation starts as it seems a bit odd when you cancel already created unit. Just my 2 cents so I don't insist on it. ;)