Skip to content

Commit

Permalink
probably fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
zig-for committed Jul 29, 2023
1 parent 7b8f891 commit 0cde895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/ladx/LADXR/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def generateRom(args, settings, ap_settings, auth, seed_name, logic, rnd=None, m
# USEFUL_HINT = 1.0
# TODO: filter events, filter unshuffled keys
all_items = multiworld.get_items()
our_items = [item for item in all_items if item.player == player_id and item.code is not None and item.location.show_in_spoiler]
our_items = [item for item in all_items if item.player == player_id and item.location and item.code is not None and item.location.show_in_spoiler]
our_useful_items = [item for item in our_items if ItemClassification.progression in item.classification]
def gen_hint():
chance = rnd.uniform(0, 1)
Expand Down

0 comments on commit 0cde895

Please sign in to comment.