mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-30 12:57:06 +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 { Reviver, Generic_toJSON, Generic_fromJSON, IReviverValue } from "../utils/JSONReviver";
|
||||
import { constructorsForReviver, Generic_toJSON, Generic_fromJSON, IReviverValue } from "../utils/JSONReviver";
|
||||
import { Crime } from "../Crime/Crime";
|
||||
import { CONSTANTS } from "../Constants";
|
||||
import { determineCrimeSuccess, findCrime } from "../Crime/CrimeHelpers";
|
||||
@@ -106,4 +106,4 @@ export class CrimeWork extends Work {
|
||||
}
|
||||
}
|
||||
|
||||
Reviver.constructors.CrimeWork = CrimeWork;
|
||||
constructorsForReviver.CrimeWork = CrimeWork;
|
||||
|
||||
Reference in New Issue
Block a user