Add a 'refundableValue' parameter to 'Produce'

This commit is contained in:
abcdefg30
2020-09-08 19:49:54 +02:00
committed by reaperrr
parent cc2e369475
commit 0dac4520ad
10 changed files with 18 additions and 18 deletions

View File

@@ -68,7 +68,7 @@ namespace OpenRA.Mods.Cnc.Traits
factionInit ?? new FactionInit(BuildableInfo.GetInitialFaction(produced.Info, p.Faction))
};
if (p.Produce(self, produced.Info, Info.ProductionType, inits))
if (p.Produce(self, produced.Info, Info.ProductionType, inits, 0))
return;
}
}