double click fix
This commit is contained in:
parent
5bd7b5ab0d
commit
f0e29d3bd8
@ -131,8 +131,8 @@
|
|||||||
if (Connect4.Game.myTurn && GameDrawer.mouseOn) {
|
if (Connect4.Game.myTurn && GameDrawer.mouseOn) {
|
||||||
let column = GameDrawer.gridX - 1
|
let column = GameDrawer.gridX - 1
|
||||||
if (GameDrawer.possible(column)) {
|
if (GameDrawer.possible(column)) {
|
||||||
io.emit('place_at', {column: column, gameId: Connect4.Game.gameId})
|
|
||||||
Connect4.Game.myTurn = false
|
Connect4.Game.myTurn = false
|
||||||
|
io.emit('place_at', {column: column, gameId: Connect4.Game.gameId})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user