From 4912ead18cdbce3eb7e0197c7ebcd4413841bac3 Mon Sep 17 00:00:00 2001 From: ezeluduena Date: Mon, 13 Nov 2023 20:48:58 -0300 Subject: [PATCH] cambio en el envio de mensaje infectado --- app/routers/games/action_functions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/routers/games/action_functions.py b/app/routers/games/action_functions.py index 7a59dd9..091c728 100644 --- a/app/routers/games/action_functions.py +++ b/app/routers/games/action_functions.py @@ -99,6 +99,7 @@ async def send_infected_event(infected_id: int, infected_name: str, the_thing_id "the_thing_name": the_thing_name } await player_connections.send_event_to(infected_id, json_msg) + await player_connections.send_event_to(the_thing_id, json_msg) @db_session