MultiServer: if there is a hint cost, don't make it 0 (#1581)

This commit is contained in:
Fabian Dill
2023-03-24 23:14:34 +01:00
committed by GitHub
parent 03cf525b2c
commit 7e52b6d8bb
2 changed files with 5 additions and 3 deletions

View File

@@ -597,7 +597,7 @@ class Context:
def get_hint_cost(self, slot):
if self.hint_cost:
return max(0, int(self.hint_cost * 0.01 * len(self.locations[slot])))
return max(1, int(self.hint_cost * 0.01 * len(self.locations[slot])))
return 0
def recheck_hints(self, team: typing.Optional[int] = None, slot: typing.Optional[int] = None):