Fix indentation, refs #3803.

This was SVN commit r17840.
This commit is contained in:
elexis 2016-03-07 11:44:03 +00:00
parent e827ebeb5c
commit fc0f496e3d

View File

@ -17,7 +17,7 @@ function ApplyValueModificationsToPlayer(tech_type, current_value, playerEntity,
{
let cmpTemplateManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_TemplateManager);
if (!cmpTemplateManager)
return current_value;
return current_value;
let entityTemplateName = cmpTemplateManager.GetCurrentTemplateName(playerEntity);
let entityTemplate = cmpTemplateManager.GetTemplate(entityTemplateName);
return ApplyValueModificationsToTemplate(tech_type, current_value, playerID, entityTemplate);