From 3db6d87f9d3385483a0c952b58fd48ed3b2d9a3e Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Thu, 11 Jul 2024 09:01:23 -0700 Subject: [PATCH] Fix variable name --- src/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index b5f500ef..037fe07d 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -555,7 +555,7 @@ def leave(var: Optional[GameState | PregameState], what: str, user: User, why=No if num_remaining <= 0: population = " " + messages["no_players_remaining"] else: - population = " " + messages["new_player_count"].format(lpl) + population = " " + messages["new_player_count"].format(num_remaining) reveal = "" if not var.in_game or var.role_reveal not in ("on", "team"):