randomize in main
This commit is contained in:
parent
11e6e07098
commit
69a21fe12f
@ -27,6 +27,9 @@ var autoshift_action
|
||||
|
||||
var playing = false
|
||||
|
||||
func _ready():
|
||||
randomize()
|
||||
|
||||
func new_game(level):
|
||||
$Start.visible = false
|
||||
next_piece = random_piece()
|
||||
|
@ -77,7 +77,6 @@ var orientation = 0
|
||||
var rotation_point_5_used = false
|
||||
|
||||
func _ready():
|
||||
randomize()
|
||||
for i in range(NB_MINOES):
|
||||
minoes.append(get_node("Mino"+str(i)))
|
||||
grid_map = get_node("../Matrix/GridMap")
|
||||
|
Loading…
x
Reference in New Issue
Block a user