LttPClient: add snes write command

This commit is contained in:
Fabian Dill
2021-11-02 11:11:57 +01:00
parent 10837e75b2
commit e4838f6d2b
2 changed files with 13 additions and 0 deletions

View File

@@ -479,6 +479,7 @@ async def process_server_cmd(ctx: CommonContext, args: dict):
elif cmd == "Bounced":
tags = args.get("tags", [])
# we can skip checking "DeathLink" in ctx.tags, as otherwise we wouldn't have been send this
if "DeathLink" in tags and ctx.last_death_link != args["data"]["time"]:
ctx.on_deathlink(args["data"])