Skip to content

Commit

Permalink
Remove unused code and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Jan 1, 2023
1 parent d59869e commit 3497e77
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/gameMan.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,6 @@ async def export(

export_screen.step('EXP', 'style-conf')

conf = config.APP.get_cur_conf(GenOptions)
vpk_success = True

# Export each object type.
Expand Down Expand Up @@ -824,8 +823,7 @@ async def export(
# Backup puzzles, if desired
backup.auto_backup(selected_game, export_screen)

# Special-case: implement the UnlockDefault stlylevar here,
# so all items are modified.
# Special-case: implement the UnlockDefault stylevar here, so all items are modified.
if selected_objects[packages.StyleVar]['UnlockDefault']:
LOGGER.info('Unlocking Items!')
for i, item in enumerate(all_items):
Expand Down

0 comments on commit 3497e77

Please sign in to comment.