mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 02: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:
@@ -1,4 +1,4 @@
|
||||
import { Generic_fromJSON, Generic_toJSON, IReviverValue, Reviver } from "../../../utils/JSONReviver";
|
||||
import { Generic_fromJSON, Generic_toJSON, IReviverValue, constructorsForReviver } from "../../../utils/JSONReviver";
|
||||
import { Sleeve } from "../Sleeve";
|
||||
import { Work, WorkType } from "./Work";
|
||||
import { calculateIntelligenceBonus } from "../../formulas/intelligence";
|
||||
@@ -32,4 +32,4 @@ export class SleeveRecoveryWork extends Work {
|
||||
}
|
||||
}
|
||||
|
||||
Reviver.constructors.SleeveRecoveryWork = SleeveRecoveryWork;
|
||||
constructorsForReviver.SleeveRecoveryWork = SleeveRecoveryWork;
|
||||
|
||||
Reference in New Issue
Block a user