mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-01-10 23:41:56 -08:00
Open first user after deleting one.
Current behavior opens the DefaultUserId, however with the change to use a randomly generated ID for the first user there is not a user with that ID. Instead we open the first user in _profiles.
This commit is contained in:
parent
46ebdcfe03
commit
0ab2c80575
@ -187,7 +187,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
|
||||
|
||||
_profiles.Remove(userId.ToString(), out _);
|
||||
|
||||
OpenUser(DefaultUserId);
|
||||
OpenUser(new UserId(_profiles.First().Key));
|
||||
|
||||
_accountSaveDataManager.Save(_profiles);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user