mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
SCRIPTS: Script modules are reused when they are imported (#461)
Also corrects some compile race conditions.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* This is an object that is used to keep track of where all of the player's
|
||||
* money is coming from (or going to)
|
||||
*/
|
||||
import { Generic_fromJSON, Generic_toJSON, Reviver, IReviverValue } from "./JSONReviver";
|
||||
import { Generic_fromJSON, Generic_toJSON, constructorsForReviver, IReviverValue } from "./JSONReviver";
|
||||
|
||||
export class MoneySourceTracker {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
@@ -60,4 +60,4 @@ export class MoneySourceTracker {
|
||||
}
|
||||
}
|
||||
|
||||
Reviver.constructors.MoneySourceTracker = MoneySourceTracker;
|
||||
constructorsForReviver.MoneySourceTracker = MoneySourceTracker;
|
||||
|
||||
Reference in New Issue
Block a user