From 04916a0b1ec6b62eef6eff6ea34a1220c44df1ee Mon Sep 17 00:00:00 2001 From: auntie Birdie Date: Wed, 19 Jun 2024 13:37:49 -0400 Subject: [PATCH] fix: add arrayValue conversion to from_firebase_type --- addons/godot-firebase/Utilities.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/godot-firebase/Utilities.gd b/addons/godot-firebase/Utilities.gd index e828d2a..efae477 100644 --- a/addons/godot-firebase/Utilities.gd +++ b/addons/godot-firebase/Utilities.gd @@ -58,6 +58,8 @@ static func from_firebase_type(value : Variant) -> Variant: if value.has("mapValue"): value = fields2dict(value.values()[0]) + elif value.has("arrayValue"): + value = fields2array(value.values()[0]) elif value.has("timestampValue"): value = Time.get_datetime_dict_from_datetime_string(value.values()[0], false) else: