hotfix getPlayer non-singularity

This commit is contained in:
Olivier Gagnon 2021-06-02 21:28:07 -04:00
parent 0ef09a1c73
commit 34c2c70a2b
4 changed files with 1 additions and 4 deletions

@ -5,8 +5,6 @@ getPlayer() Netscript Function
:RAM cost: 0.5 GB
If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to run this function.
The result of this function can be passed to the :doc:`formulas API<../netscriptformulasapi>`.
Returns an object with the Player's stats. The object has the following properties::

@ -46,6 +46,7 @@ This includes information such as function signatures, what they do, and their r
getHackingLevel() <basicfunctions/getHackingLevel>
getHackingMultipliers() <basicfunctions/getHackingMultipliers>
getHacknetMultipliers() <basicfunctions/getHacknetMultipliers>
getPlayer() <basicfunctions/getPlayer>
getServerMoneyAvailable() <basicfunctions/getServerMoneyAvailable>
getServerMaxMoney() <basicfunctions/getServerMaxMoney>
getServerGrowth() <basicfunctions/getServerGrowth>

@ -28,7 +28,6 @@ level 3, then you will be able to access all of the Singularity Functions.
connect() <singularityfunctions/connect>
manualHack() <singularityfunctions/manualHack>
installBackdoor() <singularityfunctions/installBackdoor>
getPlayer() <singularityfunctions/getPlayer>
hospitalize() <singularityfunctions/hospitalize>
isBusy() <singularityfunctions/isBusy>
stopAction() <singularityfunctions/stopAction>

@ -2946,7 +2946,6 @@ function NetscriptFunctions(workerScript) {
},
getPlayer: function() {
updateDynamicRam("getPlayer", getRamCost("getPlayer"));
checkSingularityAccess("getPlayer", 1);
const data = {
hacking_skill: Player.hacking_skill,