fix badly canceled tie-break series
This commit is contained in:
parent
72f80563f1
commit
9b28e85557
4 changed files with 4 additions and 5 deletions
|
|
@ -60,6 +60,7 @@ class WarController:
|
|||
vp_icon_map = RankingIcon.compute_icons(
|
||||
war, ContextType.WAR, war_id, scores
|
||||
)
|
||||
# TODO get only objectives used in major/minor (ignore token only)
|
||||
for obj in war.get_all_objectives():
|
||||
objective_icon_maps[obj.id] = RankingIcon.compute_icons(
|
||||
war,
|
||||
|
|
@ -185,7 +186,6 @@ class WarController:
|
|||
context_name=f"Objective tie: {objective.name}",
|
||||
)
|
||||
if not dialog.exec():
|
||||
# FIXME lost tokens used for narrative tie-break (ContextType.OBJECTIVE)
|
||||
TieResolver.cancel_tie_break(war, ctx)
|
||||
raise ForbiddenOperation("Tie resolution cancelled")
|
||||
bids_map[ctx.key()] = dialog.get_bids()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue