Newer
Older
App.EventHandlers = function() {
/**
if (v.releaseID > App.Version.release) {
console.error("Save game version problem. Loaded : " + v.releaseID + ", above expected:" + App.Version.release); // eslint-disable-line no-console
throw new Error("The save you're attempting to load was created with the game version newer than one you are running. Please download the latest game version.");
}
// updating settings only for the same releaseID, otherwise user will run
// backwards compatibility and we update settings from there
if (v.releaseID === App.Version.release) {
App.UI.SlaveSummary.settingsChanged(v);
}
*/
function onSave(save) {
}
function storyReady() {
return {
onLoad: onLoad,
onSave: onSave,
storyReady: storyReady,
optionsChanged: optionsChanged