infra: Fix clean installation crash

This commit is contained in:
KeatonTheBot committed 2025-05-16 17:23:10 -05:00
1 parent df21f6019e
commit cc92af12a4
1 file changed
+2 -1
@@ -1503,7 +1503,8 @@ namespace Ryujinx.UI.App.Common
if (!selectedUpdate.HasValue || selectedUpdate.Value.Update.Version < update.Version)
{
shouldSelect = true;
_titleUpdates.AddOrUpdate((selectedUpdate.Value.Update, false));
if(selectedUpdate.HasValue)
_titleUpdates.AddOrUpdate((selectedUpdate.Value.Update, false));
selectedUpdate = (update, true);
}