mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
Fix analyze Root Access displaying always Yes
This commit is contained in:
parent
a10100bf60
commit
a9cee6f907
@ -586,7 +586,8 @@ let Terminal = {
|
|||||||
const org = currServ.organizationName
|
const org = currServ.organizationName
|
||||||
post("Organization name: " + (!isHacknet ? org : "Player"));
|
post("Organization name: " + (!isHacknet ? org : "Player"));
|
||||||
const admin = currServ.hasAdminRights;
|
const admin = currServ.hasAdminRights;
|
||||||
post("Root Access: " + (!isHacknet ? "YES" : "NO"));
|
let hasAdminRights = !isHacknet && currServ.hasAdminRights || isHacknet;
|
||||||
|
post("Root Access: " + (hasAdminRights ? "YES" : "NO"));
|
||||||
const hackingSkill = currServ.requiredHackingSkill
|
const hackingSkill = currServ.requiredHackingSkill
|
||||||
post("Required hacking skill: " + (!isHacknet ? hackingSkill : "N/A"));
|
post("Required hacking skill: " + (!isHacknet ? hackingSkill : "N/A"));
|
||||||
const security = currServ.hackDifficulty;
|
const security = currServ.hackDifficulty;
|
||||||
|
Loading…
Reference in New Issue
Block a user