This commit is contained in:
Olivier Gagnon
2021-11-05 17:12:52 -04:00
parent f8917473f8
commit 88b4a7d862
32 changed files with 97 additions and 79 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export function netscriptCanHack(server: Server, p: IPlayer): IReturnStatus {
}
const s = server;
if (s.requiredHackingSkill > p.hacking_skill) {
if (s.requiredHackingSkill > p.hacking) {
return {
res: false,
msg: `Cannot hack ${server.hostname} server because your hacking skill is not high enough`,