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
|
||||
playtimeSinceLastBitnode
|
||||
jobs
|
||||
factions
|
||||
tor
|
||||
}
|
||||
|
||||
Example::
|
||||
|
@ -2970,6 +2970,8 @@ function NetscriptFunctions(workerScript) {
|
||||
playtimeSinceLastAug: Player.playtimeSinceLastAug,
|
||||
playtimeSinceLastBitnode: Player.playtimeSinceLastBitnode,
|
||||
jobs: {},
|
||||
factions: Player.factions.slice(),
|
||||
tor: SpecialServerIps.hasOwnProperty("Darkweb Server"),
|
||||
};
|
||||
Object.assign(data.jobs, Player.jobs);
|
||||
return data;
|
||||
|
Loading…
Reference in New Issue
Block a user