mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-30 21:36:41 -05:00
save_state_path is only on self.config
This commit is contained in:
@@ -91,7 +91,7 @@ class crystal(object):
|
||||
if not os.path.exists(save_path):
|
||||
if len(name) < 4 or name[-4:] != ".sav":
|
||||
name += ".sav"
|
||||
save_path = os.path.join(save_state_path, name)
|
||||
save_path = os.path.join(self.config.save_state_path, name)
|
||||
|
||||
with open(save_path, "rb") as file_handler:
|
||||
state = file_handler.read()
|
||||
|
||||
Reference in New Issue
Block a user