randomize in main

This commit is contained in:
adrienmalin
2019-01-16 21:47:16 +01:00
parent 11e6e07098
commit 69a21fe12f
2 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,9 @@ var autoshift_action
var playing = false
func _ready():
randomize()
func new_game(level):
$Start.visible = false
next_piece = random_piece()