mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Merge pull request #1061 from danielyxie/dev
hotfix some blade netscript functions not working
This commit is contained in:
commit
3826de72ef
2
dist/engine.bundle.js
vendored
2
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -3855,7 +3855,7 @@ function NetscriptFunctions(workerScript) {
|
||||
updateDynamicRam("startAction", getRamCost("bladeburner", "startAction"));
|
||||
checkBladeburnerAccess("startAction");
|
||||
try {
|
||||
return Player.bladeburner.startActionNetscriptFn(type, name, workerScript);
|
||||
return Player.bladeburner.startActionNetscriptFn(Player, type, name, workerScript);
|
||||
} catch(e) {
|
||||
throw makeRuntimeErrorMsg("bladeburner.startAction", e);
|
||||
}
|
||||
@ -3874,7 +3874,7 @@ function NetscriptFunctions(workerScript) {
|
||||
updateDynamicRam("getActionTime", getRamCost("bladeburner", "getActionTime"));
|
||||
checkBladeburnerAccess("getActionTime");
|
||||
try {
|
||||
return Player.bladeburner.getActionTimeNetscriptFn(type, name, workerScript);
|
||||
return Player.bladeburner.getActionTimeNetscriptFn(Player, type, name, workerScript);
|
||||
} catch(e) {
|
||||
throw makeRuntimeErrorMsg("bladeburner.getActionTime", e);
|
||||
}
|
||||
@ -3883,7 +3883,7 @@ function NetscriptFunctions(workerScript) {
|
||||
updateDynamicRam("getActionEstimatedSuccessChance", getRamCost("bladeburner", "getActionEstimatedSuccessChance"));
|
||||
checkBladeburnerAccess("getActionEstimatedSuccessChance");
|
||||
try {
|
||||
return Player.bladeburner.getActionEstimatedSuccessChanceNetscriptFn(type, name, workerScript);
|
||||
return Player.bladeburner.getActionEstimatedSuccessChanceNetscriptFn(Player, type, name, workerScript);
|
||||
} catch(e) {
|
||||
throw makeRuntimeErrorMsg("bladeburner.getActionEstimatedSuccessChance", e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user