From 01fde3e814c318a64c45d86cd92808c08464157b Mon Sep 17 00:00:00 2001 From: Sakimori Date: Wed, 3 Feb 2021 03:15:08 -0500 Subject: [PATCH] fixes #179: twilight weather procs now display runs scored --- main_controller.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main_controller.py b/main_controller.py index 0ecfbef..f76911e 100644 --- a/main_controller.py +++ b/main_controller.py @@ -225,6 +225,8 @@ def update_loop(): elif "error" in this_game.last_update[0].keys(): state["update_emoji"] = "👻" state["update_text"] = f"{this_game.last_update[0]['batter']}'s hit goes ethereal, and {this_game.last_update[0]['defender']} can't catch it! {this_game.last_update[0]['batter']} reaches base safely." + if this_game.last_update[1] > 0: + updatestring += f"{this_game.last_update[1]} runs scored!" state["bases"] = this_game.named_bases()