From 8ec75699820970d2f53874928bdd93efef370df0 Mon Sep 17 00:00:00 2001 From: VAILLANT Jeremy Date: Sun, 23 May 2021 21:22:30 +0200 Subject: [PATCH] Clean code --- db/MSetting.gd | 3 --- 1 file changed, 3 deletions(-) diff --git a/db/MSetting.gd b/db/MSetting.gd index e9b4622..057f8a0 100644 --- a/db/MSetting.gd +++ b/db/MSetting.gd @@ -7,7 +7,6 @@ var m_ambiant_sound = { "id": null, "value": null } const ROW = 0 func _init(): - print("[MSetting#_ready]") table = Global.database.get_table_by_name("settings") var datas = table.get_data_at_row_idx(ROW) @@ -28,7 +27,6 @@ func get_gyroscope(): return int(m_gyroscope["value"]) as bool func get_ambiant_sound(): - print("[msetting#get_ambiant_sound] "+String(m_ambiant_sound)) return int(m_ambiant_sound["value"]) as bool func set_langue(value): @@ -42,7 +40,6 @@ func set_gyroscope(value): return get_gyroscope() func set_ambiant_sound(value): - print("[msetting#get_ambiant_sound] save new value of mabiant sound") m_ambiant_sound["value"] = _set_data(value, m_ambiant_sound["id"], gddb_types.e_prop_type_bool) return get_ambiant_sound()