mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-25 09:54:15 +08:00
don't open the overlay when auto accept is used
This commit is contained in:
parent
21545509fd
commit
628d5001a6
@ -242,7 +242,12 @@ void Steam_Overlay::OpenOverlayInvite(CSteamID lobbyId)
|
||||
void Steam_Overlay::OpenOverlay(const char* pchDialog)
|
||||
{
|
||||
// TODO: Show pages depending on pchDialog
|
||||
if ((strcmp(pchDialog, "Friends") == 0) && (settings->auto_accept_invites.size() > 0)) {
|
||||
PRINT_DEBUG("Not opening overlay's friends list because some friends are defined in the auto accept list\n");
|
||||
AddAutoAcceptInviteNotification();
|
||||
} else {
|
||||
ShowOverlay(true);
|
||||
}
|
||||
}
|
||||
|
||||
void Steam_Overlay::OpenOverlayWebpage(const char* pchURL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user