Parties: fix invite command letting you invite local splitscreen players

This commit is contained in:
James R 2023-03-25 20:09:20 -07:00 committed by toaster
parent 9b5b07b03c
commit a0985eb043

View file

@ -2291,9 +2291,9 @@ Command_Invite_f (void)
return;
}
if (invitee == consoleplayer)
if (G_IsPartyLocal(invitee))
{
CONS_Alert(CONS_WARNING, "You cannot invite yourself! Bruh!\n");
CONS_Alert(CONS_WARNING, "That player is already a member of your party.\n");
return;
}