Skip to content

Commit

Permalink
Fix #683: Fix mission attribute file not being updated when adding fl…
Browse files Browse the repository at this point in the history
…oors
  • Loading branch information
theCapypara committed Jan 3, 2024
1 parent cfd82f0 commit ec8d028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skytemple/module/dungeon/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def change_floor_count(self, dungeon_id, number_floors_new): # TODO: Unchanged
self.project.mark_as_modified(FLOOR_RANKS)
# Update mission forbidden
mf = self.get_floor_mf(dungeon_id, floor_offset + number_floors_old - 1)
if mf:
if mf is not None:
self.extend_nb_floors_mf(
dungeon_id, floor_offset + number_floors_old, floors_added, mf
)
Expand Down

0 comments on commit ec8d028

Please sign in to comment.