Default to not allowing 39x mods to load

This commit is contained in:
Dev 2024-10-18 12:31:41 +01:00
parent 9c58e2e0e5
commit 58280f44bd

View File

@ -304,7 +304,7 @@ export class PreSptModLoader implements IModLoader {
// Warning and allow loading if semver is not satisfied // Warning and allow loading if semver is not satisfied
if (!satisfies(sptVersion, mod.sptVersion)) { if (!satisfies(sptVersion, mod.sptVersion)) {
this.logger.warning( this.logger.error(
this.localisationService.getText("modloader-outdated_sptversion_field", { this.localisationService.getText("modloader-outdated_sptversion_field", {
modName: modName, modName: modName,
modVersion: mod.version, modVersion: mod.version,
@ -312,7 +312,7 @@ export class PreSptModLoader implements IModLoader {
}), }),
); );
return true; return false;
} }
return true; return true;