Skip to content

Commit

Permalink
Use self.random
Browse files Browse the repository at this point in the history
Co-authored-by: Zach Parks <[email protected]>
  • Loading branch information
agilbert1412 and ThePhar authored Nov 22, 2023
1 parent 7c9c728 commit 7848d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/stardew_valley/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def generate_basic(self):
def get_filler_item_name(self) -> str:
if not self.filler_item_pool_names:
self.generate_filler_item_pool_names()
return self.multiworld.random.choice(self.filler_item_pool_names)
return self.random.choice(self.filler_item_pool_names)

def generate_filler_item_pool_names(self):
include_traps, exclude_island = self.get_filler_item_rules()
Expand Down

0 comments on commit 7848d42

Please sign in to comment.