mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-22 07:32:08 +02:00
fix ram miscalc
This commit is contained in:
Vendored
+11
-11
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
@@ -132,11 +132,6 @@ function NetscriptFunctions(workerScript: WorkerScript): NS {
|
|||||||
* Using map access to do the same
|
* Using map access to do the same
|
||||||
const myScan = ns['scan'];
|
const myScan = ns['scan'];
|
||||||
|
|
||||||
* Saving script in the improper order.
|
|
||||||
Increase the cost of an imported script, save it, then run the
|
|
||||||
parent. To fix this just re-open & save every script in order
|
|
||||||
from most imported to least imported (parent script).
|
|
||||||
|
|
||||||
Sorry :(`,
|
Sorry :(`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,6 +22,12 @@ export class Output {
|
|||||||
export class RawOutput {
|
export class RawOutput {
|
||||||
raw: React.ReactNode;
|
raw: React.ReactNode;
|
||||||
constructor(node: React.ReactNode) {
|
constructor(node: React.ReactNode) {
|
||||||
|
if (Settings.EnableTimestamps)
|
||||||
|
node = (
|
||||||
|
<>
|
||||||
|
[{getTimestamp()}] {node}
|
||||||
|
</>
|
||||||
|
);
|
||||||
this.raw = node;
|
this.raw = node;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -143,10 +143,6 @@ export function ls(
|
|||||||
{ segments: allScripts, style: { color: "yellow", fontStyle: "bold" } },
|
{ segments: allScripts, style: { color: "yellow", fontStyle: "bold" } },
|
||||||
].filter((g) => g.segments.length > 0);
|
].filter((g) => g.segments.length > 0);
|
||||||
for (let i = 0; i < groups.length; i++) {
|
for (let i = 0; i < groups.length; i++) {
|
||||||
if (i !== 0) {
|
|
||||||
terminal.print("");
|
|
||||||
terminal.print("");
|
|
||||||
}
|
|
||||||
postSegments(groups[i].segments, groups[i].style);
|
postSegments(groups[i].segments, groups[i].style);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user