diff --git a/src/Settings.hx b/src/Settings.hx index 75a7436e..3d668542 100644 --- a/src/Settings.hx +++ b/src/Settings.hx @@ -466,7 +466,7 @@ class Settings { highscoreName = ""; } userId = json.userId; - if (userId == null) { + if (userId == null || userId == "") { userId = Uuid.v4(); } } else {