Revert "Assert on attempting to login the same user more than once (#4416)" (#4420)

This reverts commit a5885435d6.
This commit is contained in:
kalaposfos13 2026-05-15 06:58:12 +02:00 committed by GitHub
parent 44692090d2
commit 1e58af0cc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,6 @@
#include <filesystem>
#include <iostream>
#include <common/assert.h>
#include <common/path_util.h>
#include "emulator_settings.h"
#include "libraries/system/userservice.h"
@ -201,7 +200,9 @@ void UserManager::LoginUser(User* u, s32 player_index) {
}
for (auto& logged_in_user : logged_in_users) {
ASSERT(logged_in_user != u);
if (logged_in_user == u) {
logged_in_user = nullptr;
}
}
u->logged_in = true;