fix display campaign NP draw/break in participant table
This commit is contained in:
parent
03f0e048af
commit
b1bde76319
3 changed files with 22 additions and 35 deletions
|
|
@ -67,7 +67,7 @@ class CampaignController:
|
|||
for obj in war.get_all_objectives():
|
||||
objective_icon_maps[obj.id] = RankingIcon.compute_icons(
|
||||
war,
|
||||
ContextType.CAMPAIGN,
|
||||
ContextType.OBJECTIVE,
|
||||
f"{camp.id}:{obj.id}",
|
||||
scores,
|
||||
objective_id=obj.id,
|
||||
|
|
@ -201,6 +201,7 @@ class CampaignController:
|
|||
context_name=objective.name,
|
||||
)
|
||||
if not dialog.exec():
|
||||
# FIXME lost tokens used for narrative tie-break (ContextType.OBJECTIVE)
|
||||
TieResolver.cancel_tie_break(
|
||||
war, ContextType.CAMPAIGN, ctx.context_id, ctx.score_value
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue