Skip to content

Commit

Permalink
Trim down unnecessary parts of loop
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisDavie committed Dec 16, 2024
1 parent af1892c commit 37fac14
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,12 +624,6 @@ def copy_world(world):

for region in world.regions:
copied_region = ret.get_region(region.name, region.player)
copied_region.is_light_world = region.is_light_world
copied_region.is_dark_world = region.is_dark_world
copied_region.dungeon = region.dungeon
copied_region.locations = [copied_locations[(location.name, location.player)] for location in region.locations]
for location in copied_region.locations:
location.parent_region = copied_region
for entrance in region.entrances:
if entrance.name not in hmg_entrances:
continue
Expand Down

0 comments on commit 37fac14

Please sign in to comment.