From 2e1a8c79a1c39d5e8dede9fb7b3a064a04a1a583 Mon Sep 17 00:00:00 2001 From: Martin Stancsics Date: Tue, 14 May 2024 14:07:09 +0200 Subject: [PATCH] Fix payoff on bargaining results page --- live_bargaining/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live_bargaining/__init__.py b/live_bargaining/__init__.py index 9224e6a..106bcc0 100644 --- a/live_bargaining/__init__.py +++ b/live_bargaining/__init__.py @@ -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"], )