(version)
| 504 | }, fileCbFunc); |
| 505 | } |
| 506 | checkCoreCompatibility(version) { |
| 507 | if (this.versionAsInt(version.minimumEJSVersion) > this.versionAsInt(this.ejs_version)) { |
| 508 | this.startGameError(this.localization("Outdated EmulatorJS version")); |
| 509 | throw new Error("Core requires minimum EmulatorJS version of " + version.minimumEJSVersion); |
| 510 | } |
| 511 | } |
| 512 | startGameError(message) { |
| 513 | console.log(message); |
| 514 | this.textElem.innerText = message; |
no test coverage detected