Changed the way stock market cycles occur. Stock second-order forecast now changes normally like before

This commit is contained in:
danielyxie
2019-06-02 23:29:56 -07:00
parent 9d7c869c0a
commit 8398fd47f0
10 changed files with 80 additions and 61 deletions

View File

@@ -85,6 +85,7 @@ export class Script {
*/
markUpdated() {
this.module = "";
this.moduleSequenceNumber = ++globalModuleSequenceNumber;
}
/**
@@ -109,12 +110,6 @@ export class Script {
}
}
// Marks that this script has been updated. Causes recompilation of NS2 modules.
markUpdated() {
this.module = "";
this.moduleSequenceNumber = ++globalModuleSequenceNumber;
}
/**
* Calculates and updates the script's RAM usage based on its code
* @param {Script[]} otherScripts - Other scripts on the server. Used to process imports