fix spent token on battle tie cancel
This commit is contained in:
parent
3c54a8d4a7
commit
765c691b59
1 changed files with 1 additions and 0 deletions
|
|
@ -198,6 +198,7 @@ class RoundController:
|
|||
context_id=ctx.context_id,
|
||||
)
|
||||
if not dialog.exec():
|
||||
TieResolver.cancel_tie_break(war, ContextType.BATTLE, ctx.context_id)
|
||||
raise ForbiddenOperation("Tie resolution cancelled")
|
||||
bids_map[ctx.context_id] = dialog.get_bids()
|
||||
return bids_map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue