HomeWildfire Games

Move PopulationBonus from cmpCost to new cmpPopulation.

Description

Move PopulationBonus from cmpCost to new cmpPopulation.

Since PopBonus is not a cost.

Patch by: @lonehawk
Differential Revision: D2948
Comments by: @Angen, @Nescio, @wraitii
Closes #4081

Event Timeline

Silier added a comment.EditedDec 14 2020, 9:52 PM

@Freagarach you should write 'Fixes' instead 'Closes' :)
(btw, close please ticket)

Hmm, I think I used Closes before, but may be mistaken. Also, shouldn't it at least refs the ticket then?

Freagarach added inline comments.
/ps/trunk/binaries/data/mods/public/simulation/ai/common-api/entity.js
197

While Cost may be a must for PetraAI, Population doesn't need to be. D3360