mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
hotfix getPlayer missing factions (#831)
This commit is contained in:
parent
c7febd5551
commit
708c73fa0f
@ -93,6 +93,8 @@ getPlayer() Netscript Function
|
|||||||
playtimeSinceLastAug
|
playtimeSinceLastAug
|
||||||
playtimeSinceLastBitnode
|
playtimeSinceLastBitnode
|
||||||
jobs
|
jobs
|
||||||
|
factions
|
||||||
|
tor
|
||||||
}
|
}
|
||||||
|
|
||||||
Example::
|
Example::
|
||||||
|
@ -2970,6 +2970,8 @@ function NetscriptFunctions(workerScript) {
|
|||||||
playtimeSinceLastAug: Player.playtimeSinceLastAug,
|
playtimeSinceLastAug: Player.playtimeSinceLastAug,
|
||||||
playtimeSinceLastBitnode: Player.playtimeSinceLastBitnode,
|
playtimeSinceLastBitnode: Player.playtimeSinceLastBitnode,
|
||||||
jobs: {},
|
jobs: {},
|
||||||
|
factions: Player.factions.slice(),
|
||||||
|
tor: SpecialServerIps.hasOwnProperty("Darkweb Server"),
|
||||||
};
|
};
|
||||||
Object.assign(data.jobs, Player.jobs);
|
Object.assign(data.jobs, Player.jobs);
|
||||||
return data;
|
return data;
|
||||||
|
Loading…
Reference in New Issue
Block a user