Fix some weapon assets

Fix item defs that have FortWeaponAdditionalData_AudioVisualizerData before the actual definition in the exports
This commit is contained in:
GMatrixGames
2020-11-01 17:55:13 -05:00
committed by GitHub
parent c8a6ef2731
commit eb8bf4fc8d

View File

@@ -35,7 +35,7 @@ namespace FModel.Creator
}
string exportType;
{
if (exportTypes.Length > index && exportTypes[index].String == "BlueprintGeneratedClass")
if (exportTypes.Length > index && (exportTypes[index].String == "BlueprintGeneratedClass" || exportTypes[index].String == "FortWeaponAdditionalData_AudioVisualizerData"))
index++;
exportType = exportTypes.Length > index ? exportTypes[index].String : string.Empty;
@@ -491,4 +491,4 @@ namespace FModel.Creator
return false;
}
}
}
}