Skip to content

Commit

Permalink
Blank out resources when exporting FGDs
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Oct 11, 2024
1 parent 2ebc005 commit 9325174
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hammeraddons/unify_fgd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1286,6 +1286,9 @@ def action_export(
print('Resource tags:')
for tag, classnames in res_tags.items():
print(f'- {tag}: {len(classnames)} ents')
else:
for ent in fgd.entities.values():
ent.resources = ()

print(f'Exporting {output_path}...')

Expand Down

0 comments on commit 9325174

Please sign in to comment.