Skip to content

Commit

Permalink
Fix slight bug in EnvPath
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangSenff authored Mar 26, 2024
1 parent 1dcd987 commit 5ae050f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/godot-firebase/firebase/firebase.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 5ae050f

Please sign in to comment.