mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 05:33:54 +01:00
hotfix some blade netscript functions not working
This commit is contained in:
parent
1a1a43c1ce
commit
ee3530d9b9
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