Issues 1508 and 1506

This commit is contained in:
tyasuh.taeragan@gmail.com 2021-10-15 17:26:26 -04:00
parent b5a8ed1d9d
commit 12f61677e3
2 changed files with 2 additions and 2 deletions

@ -7,7 +7,7 @@ toast() Netscript Function
:param string message: message to display :param string message: message to display
:param success|info|warning|error variant: color of the toast :param success|info|warning|error variant: color of the toast
Spawns a toast (those bottom left notifications). Spawns a toast (those bottom right notifications, like "Game Saved!" ).
Example: Example:

@ -326,7 +326,7 @@ export function NetscriptBladeburner(
checkBladeburnerCity("getCityEstimatedCommunities", cityName); checkBladeburnerCity("getCityEstimatedCommunities", cityName);
const bladeburner = player.bladeburner; const bladeburner = player.bladeburner;
if (bladeburner === null) throw new Error("Should not be called without Bladeburner"); if (bladeburner === null) throw new Error("Should not be called without Bladeburner");
return bladeburner.cities[cityName].commsEst; return bladeburner.cities[cityName].comms;
}, },
getCityChaos: function (cityName: any): any { getCityChaos: function (cityName: any): any {
helper.updateDynamicRam("getCityChaos", getRamCost("bladeburner", "getCityChaos")); helper.updateDynamicRam("getCityChaos", getRamCost("bladeburner", "getCityChaos"));