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:
parent
10b0432eca
commit
714d61aed7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user