Skip to content

Commit

Permalink
fixed?
Browse files Browse the repository at this point in the history
  • Loading branch information
Supraboy981322 authored Nov 14, 2023
1 parent a42fe2f commit f4bb3b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proto-and-wip/vterm-break/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ $('body').terminal({
'Err. no command for ' + what);
}
},
hakr: function(what) {
hakr: function() {
let syntax = ["1","2","3","4","5","6","7","8","9","10"];
let ranNum = Math.random() * (syntax.length - 1) + 1;
var ranNum = Math.round(Math.random() * (syntax.length - 1) + 1);
this.echo('> ' + syntax[ranNum]);

},
Expand Down

0 comments on commit f4bb3b4

Please sign in to comment.