From 5304cfbde1c6af9022e96f4d1bb6cfd92f88964f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Th=E1=BA=BF=20H=C6=B0ng?= Date: Fri, 13 Dec 2024 11:59:51 +0700 Subject: [PATCH] chore: fix a bit Wtf me --- vollerei/genshin/launcher/game.py | 2 +- vollerei/hsr/launcher/game.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vollerei/genshin/launcher/game.py b/vollerei/genshin/launcher/game.py index d5b4d67..985b5d6 100644 --- a/vollerei/genshin/launcher/game.py +++ b/vollerei/genshin/launcher/game.py @@ -224,7 +224,7 @@ class Game(GameABC): version_ptr = 0 correct = True try: - with self.data_folder().joinpath("data.unity3d").open("rb") as f: + with data_file.open("rb") as f: f.seek(4000) for byte in f.read(10000): match byte: diff --git a/vollerei/hsr/launcher/game.py b/vollerei/hsr/launcher/game.py index 21aaacd..7defe07 100644 --- a/vollerei/hsr/launcher/game.py +++ b/vollerei/hsr/launcher/game.py @@ -240,7 +240,7 @@ class Game(GameABC): version_ptr = 0 correct = True try: - with self.data_folder().joinpath("data.unity3d").open("rb") as f: + with data_file.open("rb") as f: f.seek(0x7D0) # 2000 in decimal for byte in f.read(10000): match byte: