mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 09:13:07 +02:00
bugfix
This commit is contained in:
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user