Fix word ambient -> ambient

This commit is contained in:
VAILLANT Jeremy
2021-05-23 21:33:44 +02:00
parent 8ec7569982
commit 1ab1210881
4 changed files with 22 additions and 22 deletions
+6 -6
View File
@@ -5,7 +5,7 @@ func _ready():
_translation()
_apply_settings_language()
_apply_settings_gyroscope()
_apply_settings_sound_ambiant()
_apply_settings_sound_ambient()
## PRIVATE
func _translation():
@@ -18,13 +18,13 @@ func _apply_settings_language():
func _apply_settings_gyroscope():
$VBoxContainer/gyroscope/HBoxContainer/data.set_pressed(Global.get_setting_gyrosocpe())
func _apply_settings_sound_ambiant():
$VBoxContainer/ambiant_sound/HBoxContainer/data.set_pressed(Global.get_setting_ambiant_sound())
func _apply_settings_sound_ambient():
$VBoxContainer/ambient_sound/HBoxContainer/data.set_pressed(Global.get_setting_ambient_sound())
func _on_gyroscope_pressed():
print("[Settings#_on_gyroscope_pressed] change value to database ...........")
Global.set_setting_gyroscope(int($VBoxContainer/gyroscope/HBoxContainer/data.pressed))
func _on_ambiant_sound_pressed():
print("[Settings#_on_ambiant_sound_pressed] change value to database ...........")
Global.set_setting_ambiant_sound(int($VBoxContainer/ambiant_sound/HBoxContainer/data.pressed))
func _on_ambient_sound_pressed():
print("[Settings#_on_ambient_sound_pressed] change value to database ...........")
Global.set_setting_ambient_sound(int($VBoxContainer/ambient_sound/HBoxContainer/data.pressed))