From 61f11dee13480927f426c388f8d5909f3cc90850 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Thu, 8 Aug 2024 19:08:53 +0200 Subject: [PATCH] Update BaseClasses.py --- BaseClasses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseClasses.py b/BaseClasses.py index 2651bf024869..225d5b7f26b4 100644 --- a/BaseClasses.py +++ b/BaseClasses.py @@ -759,7 +759,7 @@ def can_reach_region(self, spot: str, player: int) -> bool: def sweep_for_events(self, locations: Optional[Iterable[Location]] = None) -> None: logging.error("sweep_for_events has been renamed to sweep_for_advancements. The functionality is the same. " "Please switch over to sweep_for_advancements.") - self.sweep_for_advancements(key_only, locations) + self.sweep_for_advancements(locations) def sweep_for_advancements(self, locations: Optional[Iterable[Location]] = None) -> None: if locations is None: