From db152e6790c971c8ac621bda1a12619ba3bfa073 Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Wed, 23 Feb 2022 21:13:17 -0800 Subject: [PATCH] Fix deathlink killing the game watcher on startup. --- FactorioClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FactorioClient.py b/FactorioClient.py index 10a0d8f16002..d13078203eed 100644 --- a/FactorioClient.py +++ b/FactorioClient.py @@ -160,7 +160,7 @@ async def game_watcher(ctx: FactorioContext): if death_link_tick != ctx.death_link_tick: ctx.death_link_tick = death_link_tick if "DeathLink" in ctx.tags: - await ctx.send_death() + asyncio.create_task(ctx.send_death()) if ctx.energy_link_increment: in_world_bridges = data["energy_bridges"] if in_world_bridges: