diff --git a/package-lock.json b/package-lock.json index 8ccc7d8cc..ad1628276 100644 --- a/package-lock.json +++ b/package-lock.json @@ -99,7 +99,7 @@ "webpack-dev-server": "^4.15.2" }, "engines": { - "node": ">=14" + "node": ">=18" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/src/NetscriptFunctions/Singularity.ts b/src/NetscriptFunctions/Singularity.ts index db7fc2283..7bc02e73e 100644 --- a/src/NetscriptFunctions/Singularity.ts +++ b/src/NetscriptFunctions/Singularity.ts @@ -968,7 +968,11 @@ export function NetscriptSingularity(): InternalAPI { helpers.log(ctx, () => `You can't donate to '${facName}' because you are managing a gang for it`); return false; } - if (faction.name === FactionName.ChurchOfTheMachineGod || faction.name === FactionName.Bladeburners) { + if ( + faction.name === FactionName.ChurchOfTheMachineGod || + faction.name === FactionName.Bladeburners || + faction.name === FactionName.ShadowsOfAnarchy + ) { helpers.log(ctx, () => `You can't donate to '${facName}' because they do not accept donations`); return false; }