(save)
| 415 | return !!this.functions.supportsStates(); |
| 416 | } |
| 417 | getSaveFile(save) { |
| 418 | if (save !== false) { |
| 419 | this.saveSaveFiles(); |
| 420 | } |
| 421 | const exists = this.FS.analyzePath(this.getSaveFilePath()).exists; |
| 422 | return (exists ? this.FS.readFile(this.getSaveFilePath()) : null); |
| 423 | } |
| 424 | loadSaveFiles() { |
| 425 | this.clearEJSResetTimer(); |
| 426 | this.functions.loadSaveFiles(); |
no test coverage detected