Default to not allowing 39x mods to load
This commit is contained in:
parent
9c58e2e0e5
commit
58280f44bd
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user