fix a typo in 58e356babb
, plus a missing semicolon
This was SVN commit r18234.
This commit is contained in:
parent
1b0fbee2d9
commit
0856dde011
@ -227,7 +227,7 @@ ProductionQueue.prototype.GetTechnologiesList = function()
|
||||
|
||||
ProductionQueue.prototype.GetTechCostMultiplier = function()
|
||||
{
|
||||
let techCostMultiplier = {}
|
||||
let techCostMultiplier = {};
|
||||
for (let res in this.template.TechCostMultiplier)
|
||||
techCostMultiplier[res] = ApplyValueModificationsToEntity("ProductionQueue/TechCostMultiplier/"+res, +this.template.TechCostMultiplier[res], this.entity);
|
||||
return techCostMultiplier;
|
||||
|
@ -5226,7 +5226,7 @@ UnitAI.prototype.SetTargetMarket = function(target, source)
|
||||
UnitAI.prototype.SwitchMarketOrder = function(oldMarket, newMarket)
|
||||
{
|
||||
if (this.order.data && this.order.data.target && this.order.data.target == oldMarket)
|
||||
this.order.data.target == newMarket;
|
||||
this.order.data.target = newMarket;
|
||||
};
|
||||
|
||||
UnitAI.prototype.MoveToMarket = function(targetMarket)
|
||||
|
Loading…
Reference in New Issue
Block a user