diff --git a/website/database/player_assets.py b/website/database/player_assets.py index 8e845de..645060f 100644 --- a/website/database/player_assets.py +++ b/website/database/player_assets.py @@ -77,7 +77,7 @@ def prerequisites(self, value: list[int]): def recompute_prerequisites_and_level(self) -> None: """Recompute the prerequisites and level of an ongoing construction.""" - self.prerequisites, self.level = self._compute_prerequisites_and_level + self.prerequisites, self.level = self._compute_prerequisites_and_level() def _compute_prerequisites_and_level(self) -> tuple[list[int], int]: """Compute the prerequisites and level of an ongoing construction."""