Changeset 25265

Timestamp:
Apr 15, 2021, 7:47:54 AM (3 years ago)
Author:
Freagarach
Message:

Fix translation of damage types.

Broken in r24509 / rP24509.
Due to not checking for template_helpers in the game's files.

Patch by: @nwtour
Differential revision: https://code.wildfiregames.com/D3850

Location:
ps/trunk/binaries/data/mods/public
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/binaries/data/mods/public/globalscripts/DamageTypes.js

    r23992 r25265  
    1212        this.damageTypeData = {};
    1313
    14         let files = Engine.ListDirectoryFiles("simulation/data/template_helpers/damage_types", "*.json", false);
     14        let files = Engine.ListDirectoryFiles("simulation/data/damage_types", "*.json", false);
    1515        for (let filename of files)
    1616        {
  • ps/trunk/binaries/data/mods/public/l10n/messages.json

    r25097 r25265  
    588588                "extractor": "json",
    589589                "filemasks": [
    590                     "simulation/data/template_helpers/damage_types/*.json"
     590                    "simulation/data/damage_types/*.json"
    591591                ],
    592592                "options": {
Note: See TracChangeset for help on using the changeset viewer.