Fixed getCrimeChance() bug

This commit is contained in:
danielyxie 2019-02-08 18:02:00 -08:00
parent cfa13dd5c9
commit df8468228f
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -3601,7 +3601,7 @@ function NetscriptFunctions(workerScript) {
throw makeRuntimeRejectMsg(workerScript, "Invalid crime passed into getCrimeChance(): " + crime);
}
return crime.successRate();
return crime.successRate(Player);
},
getOwnedAugmentations : function(purchased=false) {
var ramCost = CONSTANTS.ScriptSingularityFn3RamCost;