chore: fix a bit
Wtf me
This commit is contained in:
@ -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:
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user