mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +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
|
||||
post("Organization name: " + (!isHacknet ? org : "Player"));
|
||||
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
|
||||
post("Required hacking skill: " + (!isHacknet ? hackingSkill : "N/A"));
|
||||
const security = currServ.hackDifficulty;
|
||||
|
Loading…
Reference in New Issue
Block a user