mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
Fixed bug where you could purchase Darkweb items without router
This commit is contained in:
parent
69d4af01ff
commit
4aa7edb576
@ -573,6 +573,10 @@ CONSTANTS = {
|
|||||||
"RAM Upgrades on your home computer",
|
"RAM Upgrades on your home computer",
|
||||||
|
|
||||||
Changelog:
|
Changelog:
|
||||||
|
"v0.21.0<br>" +
|
||||||
|
"-Added basic theme functionality - All credit goes to /u/0x726564646974 who implemented the awesome feature<br>" +
|
||||||
|
"-Optimized Script objects, which were causing save errors when the player had too many scripts<br>" +
|
||||||
|
"-Fixed bug where you could purchase Darkweb items without TOR router"
|
||||||
"v0.20.2<br>" +
|
"v0.20.2<br>" +
|
||||||
"-Fixed several small bugs<br>" +
|
"-Fixed several small bugs<br>" +
|
||||||
"-Added basic array functionality to Netscript<br>" +
|
"-Added basic array functionality to Netscript<br>" +
|
||||||
|
@ -695,7 +695,7 @@ processSingleServerGrowth = function(server, numCycles) {
|
|||||||
var numServerGrowthCyclesAdjusted = numServerGrowthCycles * serverGrowthPercentage;
|
var numServerGrowthCyclesAdjusted = numServerGrowthCycles * serverGrowthPercentage;
|
||||||
|
|
||||||
//Apply serverGrowth for the calculated number of growth cycles
|
//Apply serverGrowth for the calculated number of growth cycles
|
||||||
var serverGrowth = Math.pow(adjGrowthRate, numServerGrowthCyclesAdjusted * Player.hacking_grow_mult) ;
|
var serverGrowth = Math.pow(adjGrowthRate, numServerGrowthCyclesAdjusted * Player.hacking_grow_mult);
|
||||||
if (serverGrowth < 1) {
|
if (serverGrowth < 1) {
|
||||||
console.log("WARN: serverGrowth calculated to be less than 1");
|
console.log("WARN: serverGrowth calculated to be less than 1");
|
||||||
serverGrowth = 1;
|
serverGrowth = 1;
|
||||||
|
@ -595,7 +595,9 @@ var Terminal = {
|
|||||||
$('input[class=terminal-input]').prop('disabled', true);
|
$('input[class=terminal-input]').prop('disabled', true);
|
||||||
break;
|
break;
|
||||||
case "buy":
|
case "buy":
|
||||||
executeDarkwebTerminalCommand(commandArray);
|
if (SpecialServerIps.hasOwnProperty("Darkweb Server")) {
|
||||||
|
executeDarkwebTerminalCommand(commandArray);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case "cat":
|
case "cat":
|
||||||
if (commandArray.length != 2) {
|
if (commandArray.length != 2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user