Skip to content

Commit

Permalink
Mechanical keyboard button control
Browse files Browse the repository at this point in the history
  • Loading branch information
naoxink authored Aug 4, 2017
1 parent c048d44 commit 3d62818
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ terminal.init = function(){
container.appendChild(div)
Core._('.right').appendChild(container)
Core.addCompactFunctionality(header)
Shop.showItemButton('mechanicalKeyboard')
if(!Shop.items.mechanicalKeyboard.showing && !Shop.items.mechanicalKeyboard.owned){
Shop.showItemButton('mechanicalKeyboard')
}
// keyup
window.commandPrompt = {
'multiplier': 1,
Expand Down Expand Up @@ -313,4 +315,4 @@ terminal.eraseLogs = function(){
terminal.addToLog('TRACE LOGS ERASED')
terminal.addToLog('Recommended: Refresh IP address with "renew ip -eth1"')
}, 300)
}
}

0 comments on commit 3d62818

Please sign in to comment.