mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-19 07:48:37 +02:00
write can be awaited in order to wait for the ram calculation to go through
This commit is contained in:
@@ -109,6 +109,7 @@ export class Script {
|
||||
if (res > 0) {
|
||||
this.ramUsage = roundToTwo(res);
|
||||
}
|
||||
this.markUpdated();
|
||||
}
|
||||
|
||||
// Serialize the current object to a JSON save state
|
||||
|
||||
Reference in New Issue
Block a user