Merge pull request #4056 from Snarling/dynamicRamCheckFix

NETSCRIPT: FIX #4055 Fix dynamic ram check
This commit is contained in:
hydroflame 2022-08-29 10:57:33 -03:00 committed by GitHub
commit de12893da6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -299,6 +299,7 @@ function updateDynamicRam(ctx: NetscriptContext, ramCost: number): void {
Sorry :(`,
);
}
throw new ScriptDeath(ws);
}
/** Validates the input v as being a CityName. Throws an error if it is not. */