From 5ae050f238f97a2b5dc9a7087a336d7c0a0b2bca Mon Sep 17 00:00:00 2001 From: Kyle Szklenski Date: Tue, 26 Mar 2024 19:55:42 -0400 Subject: [PATCH] Fix slight bug in EnvPath --- addons/godot-firebase/firebase/firebase.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/godot-firebase/firebase/firebase.gd b/addons/godot-firebase/firebase/firebase.gd index 5e6d681..2fbf47e 100644 --- a/addons/godot-firebase/firebase/firebase.gd +++ b/addons/godot-firebase/firebase/firebase.gd @@ -101,7 +101,7 @@ func _check_emulating() -> void: func _load_config() -> void: if not (_config.apiKey != "" and _config.authDomain != ""): var env = ConfigFile.new() - var err = env.load("res://addons/godot-firebase/.env" if EnvPath == null else EnvPath) + var err = env.load("res://addons/godot-firebase/.env" if EnvPath == "" else EnvPath) if err == OK: for key in _config.keys(): var config_value = _config[key]