Skip to content

Commit

Permalink
sc2: Fixed an issue with all items being marked progression
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMarinets committed Dec 13, 2024
1 parent 2d3d159 commit 5d10393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/sc2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ def create_item_with_correct_settings(player: int, name: str, filter_flags: Item
data = item_tables.item_table[name]

item = StarcraftItem(name, data.classification, data.code, player, filter_flags)
if ItemFilterFlags.ForceProgression:
if ItemFilterFlags.ForceProgression & filter_flags:
item.classification = ItemClassification.progression

return item
Expand Down

0 comments on commit 5d10393

Please sign in to comment.