Lingo: Remove unnecessary player_logic parameters (#3054)

A world's player_logic is accessible from the LingoWorld object, so it's not necessary to also pass the LingoPlayerLogic object through every function that uses both.
This commit is contained in:
Star Rauchenberger
2024-04-13 17:20:31 -05:00
committed by GitHub
parent 7e660dbd23
commit 11073dfdac
3 changed files with 42 additions and 50 deletions

View File

@@ -63,7 +63,7 @@ class LingoWorld(World):
self.player_logic = LingoPlayerLogic(self)
def create_regions(self):
create_regions(self, self.player_logic)
create_regions(self)
def create_items(self):
pool = [self.create_item(name) for name in self.player_logic.real_items]