Skip to content

Commit 6896d63

Browse files
authored
Stardew Valley: Fix a bug in equals between Or and And rules ArchipelagoMW#4326
1 parent 6f2e1c2 commit 6896d63

File tree

1 file changed

+1
-1
lines changed
  • worlds/stardew_valley/stardew_rule

1 file changed

+1
-1
lines changed

worlds/stardew_valley/stardew_rule/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def __repr__(self):
293293

294294
def __eq__(self, other):
295295
return (isinstance(other, type(self)) and self.combinable_rules == other.combinable_rules and
296-
self.simplification_state.original_simplifiable_rules == self.simplification_state.original_simplifiable_rules)
296+
self.simplification_state.original_simplifiable_rules == other.simplification_state.original_simplifiable_rules)
297297

298298
def __hash__(self):
299299
if len(self.combinable_rules) + len(self.simplification_state.original_simplifiable_rules) > 5:

0 commit comments

Comments
 (0)