Opened 17 months ago
Closed 17 months ago
#6670 closed defect (fixed)
Negative used resources in summary
Reported by: | Langbart | Owned by: | Freagarach |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 27 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description
reported by KarloManco
in the forum:
resourcesUsed counter bug (21/Dec/22)
When a unit which is being trained is cancelled, the resourcesUsed counter is decreased by twice the cost of this unit
to reproduce
- Click on any building to train a new unit
- Cancel the unit before it is completed.
- Check in the summary the Resources Used field
reproducible
issue is not reproducible in A25b [25860]
bisect
possible solution
KarloManco
:
I have checked (in the newest version, [27288]) that by commenting lines 153 and 154 in the mentioned file (Trainer.js) the issue sees to be solved.
Attachments (1)
Change History (2)
by , 17 months ago
Attachment: | neg_res.png added |
---|
comment:1 by , 17 months ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 27321: