1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: fix a small tetris bug

This commit is contained in:
Alexander Medvednikov 2019-11-13 06:43:05 +03:00
parent 10b0432eca
commit 714d61aed7

View File

@ -422,7 +422,7 @@ fn key_down(wnd voidptr, key, code, action, mods int) {
game.get_tetro()
}
if game.pos_x < 0 {
game.pos_x = 1
//game.pos_x = 1
}
}
glfw.KeyLeft {