From 75494be258e5d808e98e47f402e1241fc199d8d6 Mon Sep 17 00:00:00 2001 From: Daniel Collins Date: Fri, 4 Feb 2022 14:16:28 +0000 Subject: [PATCH] Fix xboxone_show_account_picker() return value. Its supposed to return an async context ID on success. --- DLL/GDKExtension/GDKX.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/DLL/GDKExtension/GDKX.cpp b/DLL/GDKExtension/GDKX.cpp index 5377174..f315c39 100644 --- a/DLL/GDKExtension/GDKX.cpp +++ b/DLL/GDKExtension/GDKX.cpp @@ -377,10 +377,7 @@ void F_XboxOneShowAccountPicker(RValue& Result, CInstance* selfinst, CInstance* if (ret < 0) { DebugConsoleOutput("xboxone_show_account_picker() failed\n"); - Result.val = ret; - } - else - { - Result.val = 0; } + + Result.val = ret; }