mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
Added several configurable game settings. Added donate button. Added Hacknet Node API functions for getting cost of upgrades
This commit is contained in:
@@ -693,7 +693,7 @@ function NetscriptFunctions(workerScript) {
|
||||
throw makeRuntimeRejectMsg(workerScript, "Could not find port: " + port + ". This is a bug contact the game developer");
|
||||
}
|
||||
port.push(data);
|
||||
if (port.length > CONSTANTS.MaxPortCapacity) {
|
||||
if (port.length > Settings.MaxPortCapacity) {
|
||||
port.shift();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user