1
0
forked from mirrors/0ad

Don't uselessly traffic constant statuseffect translatable strings and icons through the guiinterface.

Reviewed By: wraitii
Differential Revision: D3112
Fixes: 876b035336

This was SVN commit r24197.
This commit is contained in:
bb
2020-11-18 08:25:43 +00:00
parent 841b381607
commit 029751c135
@@ -119,9 +119,6 @@ Attacking.prototype.GetStatusEffectsData = function(valueModifRoot, template, en
{
let statusTemplate = template[effect];
result[effect] = {
"StatusName": statusTemplate.StatusName,
"ApplierTooltip": statusTemplate.ApplierTooltip,
"ReceiverTooltip": statusTemplate.ReceiverTooltip,
"Duration": ApplyValueModificationsToEntity(valueModifRoot + "/ApplyStatus/" + effect + "/Duration", +(statusTemplate.Duration || 0), entity),
"Interval": ApplyValueModificationsToEntity(valueModifRoot + "/ApplyStatus/" + effect + "/Interval", +(statusTemplate.Interval || 0), entity),
"Stackability": statusTemplate.Stackability