In the middle of work for simplifying UI

This commit is contained in:
danielyxie
2017-09-01 15:35:14 -05:00
parent 78ca383ee2
commit 9614d6ee4f
6 changed files with 96 additions and 243 deletions
+4 -1
View File
@@ -134,7 +134,10 @@ function getNumAvailableCreateProgram() {
if (!Player.hasProgram(Programs.AutoLink) && Player.hacking_skill >= 25) {
++count;
}
if (count > 0) {Player.firstProgramAvailable = true;}
if (Player.firstProgramAvailable === false && count > 0) {
Player.firstProgramAvailable = true;
document.getElementById("create-program-tab").style.display = "list-item";
}
return count;
}