Skip to content

Commit

Permalink
Merge pull request #76 from stanmart/fix-payments-2
Browse files Browse the repository at this point in the history
Fix payoff on bargaining results page
  • Loading branch information
stanmart authored May 14, 2024
2 parents 1b023e8 + 2e1a8c7 commit 22e17f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion live_bargaining/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def js_vars(player: Player):
@staticmethod
def vars_for_template(player: Player):
return dict(
payoff_to_display=f"{player.payoff_this_round/4} points",
payoff_to_display=f"{player.payoff_this_round / (C.NUM_ROUNDS - 1)} points",
**player.session.config["player_names"],
)

Expand Down

0 comments on commit 22e17f5

Please sign in to comment.