Skip to content

Commit

Permalink
missing player arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehseezed committed Oct 2, 2024
1 parent 8de2874 commit 238bb66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion worlds/am2r/regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def create_regions_and_locations(world: MultiWorld, player: int):
connect(world, player, "Hydro Station", "Inner Hydro Station", lambda state: state.has("Screw Attack", player) or logic.AM2R_can_bomb(state))
connect(world, player, "Inner Hydro Station", "Hydro Station", lambda state: state.has("Screw Attack", player) or logic.AM2R_can_bomb(state))

connect(world, player, "Industrial Complex Nest", "Pre Industrial Complex", lambda state: (state.has("Speed Booster", player) and state.has("Hi Jump")) or logic.AM2R_can_bomb(state)),
connect(world, player, "Industrial Complex Nest", "Pre Industrial Complex", lambda state: (state.has("Speed Booster", player) and state.has("Hi Jump", player)) or logic.AM2R_can_bomb(state)),
connect(world, player, "Pre Industrial Complex", "Industrial Complex Nest", lambda state: state.has("Speed Booster", player) or logic.AM2R_can_bomb(state)),

connect(world, player, "Pre Industrial Complex", "Industrial Complex"),
Expand Down
4 changes: 1 addition & 3 deletions worlds/am2r/rules.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import itertools
from typing import Union
from BaseClasses import MultiWorld, CollectionState
from .options import MetroidsRequired, LocationSettings, get_option_value
from .options import get_option_value


class AM2RLogic:
Expand Down

0 comments on commit 238bb66

Please sign in to comment.