Opened 15 months ago
Closed 15 months ago
#6739 closed defect (fixed)
Orange flashing pop counter on cheat code
Reported by: | Langbart | Owned by: | Freagarach |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 27 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: | Phab:D4939 |
Description
to reproduce
- start a map with a civ of your own choice
- enter
gift from the gods
- select
CC
and entersalad bowl 200
- You may have to run the command twice for civs with a large
CC
likeHan
/Ptol
/Maur
- You may have to run the command twice for civs with a large
- notice the pop counter blinks orange
- delete all units, it still flashes
- it only stops when producing a new unit
- minimal replay (~1min)
reproducible
- does not occur in A25b
- starts to occur with A26
bisect
(none, likely [26000])
possible solution ?
-
binaries/data/mods/public/simulation/components/Trainer.js
a b Trainer.prototype.Item.prototype.Spawn = function() 304 304 } 305 305 if (this.count) 306 306 { 307 const cmpProductionQueue = Engine.QueryInterface(this.trainer, IID_ProductionQueue); 308 if (cmpProductionQueue.queue.length) 307 309 cmpPlayer.BlockTraining(); 308 310 309 311 if (!this.spawnNotified)
Attachments (1)
Change History (3)
by , 15 months ago
Attachment: | commands.txt added |
---|
comment:1 by , 15 months ago
Owner: | set to |
---|---|
Patch: | → Phab:D4939 |
comment:2 by , 15 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 27549: