safe sequence reset feature
This commit is contained in:
1 parent
d0062c6bcf
commit
77f188ba54
1 file changed
+2
@@ -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