mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
fix trailing could not pay notification if there was nothing left to pay for
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user