Skip to content

Commit

Permalink
Version 1.14.1 (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVG207 authored Jul 4, 2024
2 parents 7e3f793 + 7fb9018 commit 78c9d4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions umalauncher/helper_table_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,8 +921,11 @@ def _generate_cells(self, game_state) -> list[hte.Cell]:
return []

for command_key, command_data in game_state.items():
harvest_sum = sum([data['harvest_num'] for data in command_data['material_harvest_info_array']])
harvest_sums[command_key] = harvest_sum
try:
harvest_sum = sum([data['harvest_num'] for data in command_data['material_harvest_info_array']])
harvest_sums[command_key] = harvest_sum
except KeyError:
raise KeyError(f"material_harvest_info_array not found in command: {command_key} {command_data}")

max_harvest = max(harvest_sums.values())

Expand Down
2 changes: 1 addition & 1 deletion umalauncher/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import gui
import glob

VERSION = "1.14.0"
VERSION = "1.14.1"

def parse_version(version_string: str):
"""Convert version string to tuple."""
Expand Down

0 comments on commit 78c9d4c

Please sign in to comment.