Ticket #3245: Technologies.js.patch

File Technologies.js.patch, 691 bytes (added by Michał, 9 years ago)

patch fixing the issue

  • binaries/data/mods/public/globalscripts/Technologies.js

     
    3939
    4040            // Nothing is cumulative so that ordering doesn't matter as much as possible
    4141            if (modification.multiply)
    42                 retValue += (modification.multiply - 1) * propertyValue;
     42                retValue *= modification.multiply;
    4343            else if (modification.add)
    4444                retValue += modification.add;
    4545            else if (modification.replace !== undefined) // This will depend on ordering because there is no choice