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

View File

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