mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vlib: fix missing else{}
in match statements
This commit is contained in:
@ -402,6 +402,7 @@ fn key_down(wnd voidptr, key, code, action, mods int) {
|
||||
game.state = .running
|
||||
}
|
||||
}
|
||||
else {}
|
||||
}
|
||||
|
||||
if game.state != .running {
|
||||
@ -434,5 +435,6 @@ fn key_down(wnd voidptr, key, code, action, mods int) {
|
||||
glfw.KeyDown {
|
||||
game.move_tetro() // drop faster when the player presses <down>
|
||||
}
|
||||
else { }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user