Clean useless newlines
This commit is contained in:
@@ -26,7 +26,6 @@ var current_tracing: int = 0
|
||||
|
||||
func _ready() -> void:
|
||||
MusicManager.stop()
|
||||
|
||||
gardens_data = transition_data
|
||||
transition_data = {}
|
||||
Log.trace("LookAndLearn: Transition data received = %s" % str(gardens_data))
|
||||
@@ -87,7 +86,6 @@ func play_videos() -> void:
|
||||
else:
|
||||
video_player.stream = videos[current_video]
|
||||
video_player.play()
|
||||
|
||||
current_video += 1
|
||||
|
||||
|
||||
@@ -98,7 +96,6 @@ func play_images_and_sounds() -> void:
|
||||
image.texture = images[current_image_and_sound]
|
||||
audio_player.stream = sounds[current_image_and_sound]
|
||||
audio_player.play()
|
||||
|
||||
current_image_and_sound += 1
|
||||
|
||||
|
||||
@@ -161,7 +158,6 @@ func _on_tracing_manager_finished() -> void:
|
||||
func _back_to_gardens() -> void:
|
||||
Log.info("LookAndLearn: Returning to gardens for lesson %d" % lesson_nb)
|
||||
await OpeningCurtain.close()
|
||||
|
||||
Gardens.transition_data = gardens_data
|
||||
get_tree().change_scene_to_file("res://sources/gardens/gardens.tscn")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user