From 7a358cedc44c0892a4c369a4884a23a001535d63 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 13 Apr 2024 17:20:31 -0500 Subject: 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. --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '__init__.py') diff --git a/__init__.py b/__init__.py index b749418..25be166 100644 --- a/__init__.py +++ b/__init__.py @@ -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] -- cgit 1.4.1