uuid things

This commit is contained in:
RandomityGuy 2025-02-14 19:36:38 +05:30
parent b3d80f2421
commit affb0d9dec

View file

@ -514,7 +514,7 @@ class Settings {
highscoreName = ""; highscoreName = "";
} }
userId = json.userId; userId = json.userId;
if (userId == null) { if (userId == null || userId == "") {
userId = Uuid.v4(); userId = Uuid.v4();
} }
} else { } else {