|
|
@ -341,11 +341,12 @@ void ProfileManager::ParseUserSaveFile() {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
for (std::size_t i = 0; i < MAX_USERS; ++i) {
|
|
|
|
for (const auto& user : data.users) {
|
|
|
|
const auto& user = data.users[i];
|
|
|
|
if (user.uuid == UUID(INVALID_UUID)) {
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (user.uuid != UUID(INVALID_UUID))
|
|
|
|
AddUser({user.uuid, user.username, user.timestamp, {}, false});
|
|
|
|
AddUser({user.uuid, user.username, user.timestamp, {}, false});
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
std::stable_partition(profiles.begin(), profiles.end(),
|
|
|
|
std::stable_partition(profiles.begin(), profiles.end(),
|
|
|
|