Fix translation of damage types.

Broken in d28a91b83d.
Due to not checking for `template_helpers` in the game's files.

Patch by: @nwtour
Differential revision: https://code.wildfiregames.com/D3850
This was SVN commit r25265.
This commit is contained in:
Freagarach
2021-04-15 05:47:54 +00:00
parent 079212fe46
commit b74ab54cf7
2 changed files with 2 additions and 2 deletions
@@ -11,7 +11,7 @@ class DamageTypesMetadata
{
this.damageTypeData = {};
let files = Engine.ListDirectoryFiles("simulation/data/template_helpers/damage_types", "*.json", false);
let files = Engine.ListDirectoryFiles("simulation/data/damage_types", "*.json", false);
for (let filename of files)
{
let data = Engine.ReadJSONFile(filename);
+1 -1
View File
@@ -587,7 +587,7 @@
{
"extractor": "json",
"filemasks": [
"simulation/data/template_helpers/damage_types/*.json"
"simulation/data/damage_types/*.json"
],
"options": {
"keywords": [