chore: fix a bit

Wtf me
This commit is contained in:
2024-12-13 11:59:51 +07:00
parent 2331f9404a
commit 5304cfbde1
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ class Game(GameABC):
version_ptr = 0 version_ptr = 0
correct = True correct = True
try: try:
with self.data_folder().joinpath("data.unity3d").open("rb") as f: with data_file.open("rb") as f:
f.seek(4000) f.seek(4000)
for byte in f.read(10000): for byte in f.read(10000):
match byte: match byte:

View File

@ -240,7 +240,7 @@ class Game(GameABC):
version_ptr = 0 version_ptr = 0
correct = True correct = True
try: 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 f.seek(0x7D0) # 2000 in decimal
for byte in f.read(10000): for byte in f.read(10000):
match byte: match byte: