Uncomment version checking code

While not yet released, this issue has been fixed in a previous commit
This commit is contained in:
Ethan O'Brien 2024-08-08 09:52:49 -05:00
parent e486e70181
commit 4bc5a8e871

View file

@ -496,10 +496,9 @@ class EmulatorJS {
}, fileCbFunc);
}
checkCoreCompatibility(version) {
// Leave commented until next release - this is ready to go.
if (this.versionAsInt(version.minimumEJSVersion) > this.versionAsInt(this.ejs_version)) {
//this.startGameError(this.localization("Outdated EmulatorJS version"));
//throw new Error("Core requires minimum EmulatorJS version of " + version.minimumEJSVersion);
this.startGameError(this.localization("Outdated EmulatorJS version"));
throw new Error("Core requires minimum EmulatorJS version of " + version.minimumEJSVersion);
}
}
startGameError(message) {