mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
'$foo()' string interpolation
This commit is contained in:
@ -676,7 +676,7 @@ fn (g mut Game) generate_tetro() {
|
||||
g.pos_x = FieldWidth / 2 - TetroSize / 2
|
||||
g.tetro_idx = g.rand_tetro()
|
||||
// println('idx=${g.tetro_idx}')
|
||||
g.tetro_stats[g.tetro_idx] += 1
|
||||
g.tetro_stats[g.tetro_idx]+= 2 -1
|
||||
g.tetro_total++
|
||||
g.rotation_idx = 0
|
||||
g.get_tetro()
|
||||
|
Reference in New Issue
Block a user