Skip to content

Commit c097a96

Browse files
committed
add override for persistent signature checks
1 parent db9023a commit c097a96

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

Monika After Story/game/overrides.rpy

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,13 @@ init -10 python:
2020
## You'll need a block like this for creator defined screen language
2121
## Don't use this unless you know you need it
2222
python early in mas_overrides:
23-
pass
23+
def verify_data_override(data, signatures, check_verifying=True):
24+
"""
25+
Verify the data in a save token.
26+
27+
Originally, this function is used to check against a checksum to verify the persistent should be loaded
28+
But because we want to allow anyone be able to migrate and transfer their data, we will just return True
29+
"""
30+
return True
31+
32+
renpy.savetoken.verify_data = verify_data_override

0 commit comments

Comments
 (0)