Skip to content

Commit

Permalink
fix pause key2 not loading to game
Browse files Browse the repository at this point in the history
  • Loading branch information
111116 committed Feb 19, 2020
1 parent 3440500 commit 8ddc75f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function setOptionPanel() {
showhwmouse: false,
snakein: true,
snakeout: true,
autofullscreen: false,

disableWheel: false,
disableButton: false,
Expand Down Expand Up @@ -70,6 +71,7 @@ function setOptionPanel() {
window.game.K1keycode = this.K1keycode;
window.game.K2keycode = this.K2keycode;
window.game.ESCkeycode = this.Kpausekeycode;
window.game.ESC2keycode = this.Kpause2keycode;

window.game.masterVolume = this.mastervolume / 100;
window.game.effectVolume = this.effectvolume / 100;
Expand Down

0 comments on commit 8ddc75f

Please sign in to comment.