From 58280f44bd44f3cc72ee41741ec0937d3c0d90a6 Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 18 Oct 2024 12:31:41 +0100 Subject: [PATCH] Default to not allowing 39x mods to load --- project/src/loaders/PreSptModLoader.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/loaders/PreSptModLoader.ts b/project/src/loaders/PreSptModLoader.ts index a436ffcb..70ba95c3 100644 --- a/project/src/loaders/PreSptModLoader.ts +++ b/project/src/loaders/PreSptModLoader.ts @@ -304,7 +304,7 @@ export class PreSptModLoader implements IModLoader { // Warning and allow loading if semver is not satisfied if (!satisfies(sptVersion, mod.sptVersion)) { - this.logger.warning( + this.logger.error( this.localisationService.getText("modloader-outdated_sptversion_field", { modName: modName, modVersion: mod.version, @@ -312,7 +312,7 @@ export class PreSptModLoader implements IModLoader { }), ); - return true; + return false; } return true;