Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
See #1170
  • Loading branch information
bates64 committed Feb 16, 2024
1 parent 4a39278 commit f475a97
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/splat_ext/pm_map_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,12 @@ def split(self, rom_bytes):
if name == "end_data":
break

assert self.files.get(name) is not None
if self.files.get(name) is None:
# TODO
# https://github.com/pmret/papermario/issues/1170
self.warn(f"skipping unknown file {name}")
asset_idx += 1
continue

if offset == 0:
path = None
Expand Down

0 comments on commit f475a97

Please sign in to comment.