safe sequence reset feature
This commit is contained in:
@@ -19,6 +19,8 @@ func add_sequence_guess(dir):
|
|||||||
else:
|
else:
|
||||||
$Reset.playing = true
|
$Reset.playing = true
|
||||||
i = 0
|
i = 0
|
||||||
|
if sequence[0] == dir:
|
||||||
|
add_sequence_guess(dir)
|
||||||
|
|
||||||
func _on_up_input_event(camera, event, position, normal, shape_idx):
|
func _on_up_input_event(camera, event, position, normal, shape_idx):
|
||||||
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
if event is InputEventMouseButton and event.is_action_pressed("interact"):
|
||||||
|
|||||||
Reference in New Issue
Block a user