mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
hotfix getPlayer missing factions (#831)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user