From d10eea9b6ff295d8da72c540dbce0ed3267d1346 Mon Sep 17 00:00:00 2001 From: Mikael Hernvall Date: Fri, 12 Aug 2022 10:23:13 +0200 Subject: [PATCH] Don't attempt global user implementation if there is no global api --- gotm/_impl/_GotmUser.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gotm/_impl/_GotmUser.gd b/gotm/_impl/_GotmUser.gd index 3bd35f3..f02e5df 100644 --- a/gotm/_impl/_GotmUser.gd +++ b/gotm/_impl/_GotmUser.gd @@ -24,7 +24,7 @@ class_name _GotmUser #warnings-disable static func get_implementation(): - if !_Gotm.get_project_key(): + if !_Gotm.has_global_api(): return _GotmUserLocal return _GotmStore