Skip to content

Commit

Permalink
Remove old options re-establisher
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholassaylor authored Nov 29, 2024
1 parent 9d367c7 commit cc3e268
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions worlds/alttp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,16 +293,6 @@ def stage_assert_generate(cls, multiworld: MultiWorld):
break

def generate_early(self):
# write old options
import dataclasses
is_first = self.player == min(self.multiworld.get_game_players(self.game))

for field in dataclasses.fields(self.options_dataclass):
if is_first:
setattr(self.multiworld, field.name, {})
getattr(self.multiworld, field.name)[self.player] = getattr(self.options, field.name)
# end of old options re-establisher

multiworld = self.multiworld

self.fix_trock_doors = (self.options.entrance_shuffle != 'vanilla' or self.options.mode == 'inverted')
Expand Down

0 comments on commit cc3e268

Please sign in to comment.