mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: time.wait() => time.sleep()
This commit is contained in:
@ -218,7 +218,7 @@ fn (mut g Game) run() {
|
||||
g.delete_completed_lines()
|
||||
}
|
||||
// glfw.post_empty_event() // force window redraw
|
||||
time.wait(timer_period * time.millisecond)
|
||||
time.sleep(timer_period * time.millisecond)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user