mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 17:23:00 +02:00
Moved Player initialization point (#452)
Now initialized as side effect in PlayerObject, instead of in Player file that is imported everywhere.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Work } from "../../Work/Work";
|
||||
import { PlayerObject } from "./PlayerObject";
|
||||
|
||||
import type { PlayerObject } from "./PlayerObject";
|
||||
|
||||
export function startWork(this: PlayerObject, w: Work): void {
|
||||
if (this.currentWork !== null) {
|
||||
|
||||
Reference in New Issue
Block a user