fix technologies broken by 379a7b208f

This was SVN commit r14000.
This commit is contained in:
sanderd17 2013-10-14 20:36:57 +00:00
parent 379a7b208f
commit a4ce8dac34

View File

@ -4,7 +4,7 @@ function ApplyTechModificationsToEntity(tech_type, current_value, entity)
{
var cmpTechMan = QueryOwnerInterface(entity, IID_TechnologyManager);
if (cmpTechMan)
var value = cmpTechMan.ApplyModificationsTemplate(tech_type, current_value, entity);
var value = cmpTechMan.ApplyModifications(tech_type, current_value, entity);
else
var value = current_value;