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
+7 -7
View File
@@ -2,7 +2,7 @@ extends "res://db/MBase.gd"
var m_langue = { "id": null, "value": null }
var m_gyroscope = { "id": null, "value": null }
var m_ambiant_sound = { "id": null, "value": null }
var m_ambient_sound = { "id": null, "value": null }
const ROW = 0
@@ -12,7 +12,7 @@ func _init():
m_langue = _get_data_info(datas, 0)
m_gyroscope = _get_data_info(datas, 1)
m_ambiant_sound = _get_data_info(datas, 2)
m_ambient_sound = _get_data_info(datas, 2)
func _get_data_info(datas, id):
return {
@@ -26,8 +26,8 @@ func get_langue():
func get_gyroscope():
return int(m_gyroscope["value"]) as bool
func get_ambiant_sound():
return int(m_ambiant_sound["value"]) as bool
func get_ambient_sound():
return int(m_ambient_sound["value"]) as bool
func set_langue(value):
m_langue["value"] = _set_data(value, m_langue["id"], gddb_types.e_prop_type_string)
@@ -39,7 +39,7 @@ func set_gyroscope(value):
return get_gyroscope()
func set_ambiant_sound(value):
m_ambiant_sound["value"] = _set_data(value, m_ambiant_sound["id"], gddb_types.e_prop_type_bool)
func set_ambient_sound(value):
m_ambient_sound["value"] = _set_data(value, m_ambient_sound["id"], gddb_types.e_prop_type_bool)
return get_ambiant_sound()
return get_ambient_sound()