More work on Tutorial

This commit is contained in:
Daniel Xie
2017-04-05 16:09:37 -05:00
parent 14684dd6d5
commit e2ad62c62a
4 changed files with 58 additions and 15 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ function displayCreateProgramContent() {
//TODO These addEventListeners should only happen once so I guess just put them in Engine.init()
//PortHack.exe (in case you delete it lol)
if (Player.getHomeComputer().programs.indexOf(CONSTANTS.PortHackProgram) == -1) {
if (Player.getHomeComputer().programs.indexOf(CONSTANTS.NukeProgram) == -1) {
portHackALink.style.display = "block";
portHackALink.addEventListener("click", function() {
createProgram(CONSTANTS.PortHackProgram);