fix trailing could not pay notification if there was nothing left to pay for
This commit is contained in:
parent
f489f5f6c5
commit
46038830c3
|
@ -820,8 +820,9 @@ class ClientMessageProcessor(CommandProcessor):
|
||||||
self.ctx.hints[self.client.team, hint.receiving_player].add(hint)
|
self.ctx.hints[self.client.team, hint.receiving_player].add(hint)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
self.output(
|
if not_found_hints:
|
||||||
"Could not pay for everything. Rerun the hint later with more points to get the remaining hints.")
|
self.output(
|
||||||
|
"Could not pay for everything. Rerun the hint later with more points to get the remaining hints.")
|
||||||
notify_hints(self.ctx, self.client.team, found_hints + hints)
|
notify_hints(self.ctx, self.client.team, found_hints + hints)
|
||||||
self.ctx.save()
|
self.ctx.save()
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue