diff --git a/addons/godot-firebase/firebase/firebase.gd b/addons/godot-firebase/firebase/firebase.gd index 2fbf47e..a3c787c 100644 --- a/addons/godot-firebase/firebase/firebase.gd +++ b/addons/godot-firebase/firebase/firebase.gd @@ -15,8 +15,6 @@ const _ENVIRONMENT_VARIABLES : String = "firebase/environment_variables" const _EMULATORS_PORTS : String = "firebase/emulators/ports" const _AUTH_PROVIDERS : String = "firebase/auth_providers" -@export_global_file("*.env") var EnvPath : String - ## @type FirebaseAuth ## The Firebase Authentication API. @onready var Auth : FirebaseAuth = $Auth @@ -101,7 +99,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 == "" else EnvPath) + var err = env.load("res://addons/godot-firebase/.env") if err == OK: for key in _config.keys(): var config_value = _config[key]