Open manonamora opened 1 week ago
You can also modify the number of autosave slots available for players with:
Config.saves.maxAutoSaves = 4;
}}}
the space after }}} breaks the formatting
SAVE ON SAVE
Save.onSave.add(function (save) {
switch (save.type) {
case Save.Type.Auto: {
/* code to process an auto save object before it's saved */
break;
}
case Save.Type.Base64: {
/* code to process a base64 save object before it's saved */
break;
}
case Save.Type.Disk: {
/* code to process a disk save object before it's saved */
break;
}
case Save.Type.Slot: {
/* code to process a slot save object before it's saved */
break;
}
}
});
should be name and not title