Saves compatibility

This commit is contained in:
LoafyLemon 2023-07-15 21:57:41 +01:00
parent ff952f6f90
commit ceb4678b36

View File

@ -147,6 +147,11 @@ init python:
mods_list = getattr(persistent, "mods_list", _dict()) or _dict() mods_list = getattr(persistent, "mods_list", _dict()) or _dict()
setattr(persistent, "mods_list", _dict(mods_list)) setattr(persistent, "mods_list", _dict(mods_list))
# Fix event issue with Cho
ev = getattr(store, "cho_ev_inspect_her_body_t2_e3")
if ev.completed and not states.cho.ev.inspect_her_body.T2_E3_complete:
states.cho.ev.inspect_her_body.T2_E3_complete = True
if current > latest: if current > latest:
raise Exception("Loaded save file is incompatible. (Save Version: {}, Game Version: {})".format(current, latest)) raise Exception("Loaded save file is incompatible. (Save Version: {}, Game Version: {})".format(current, latest))