mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Add missing return statements to invite and cancelinvite commands
This commit is contained in:
parent
e3308b8e73
commit
a3a3f4cd18
1 changed files with 3 additions and 0 deletions
|
|
@ -2316,6 +2316,7 @@ Command_Invite_f (void)
|
||||||
{
|
{
|
||||||
CONS_Alert(CONS_WARNING,
|
CONS_Alert(CONS_WARNING,
|
||||||
"That player has already been invited to join another party.\n");
|
"That player has already been invited to join another party.\n");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (( splitscreen_party_size[consoleplayer] +
|
if (( splitscreen_party_size[consoleplayer] +
|
||||||
|
|
@ -2324,6 +2325,7 @@ Command_Invite_f (void)
|
||||||
CONS_Alert(CONS_WARNING,
|
CONS_Alert(CONS_WARNING,
|
||||||
"That player joined with too many "
|
"That player joined with too many "
|
||||||
"splitscreen players for your party.\n");
|
"splitscreen players for your party.\n");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
CONS_Printf(
|
CONS_Printf(
|
||||||
|
|
@ -2367,6 +2369,7 @@ Command_CancelInvite_f (void)
|
||||||
{
|
{
|
||||||
CONS_Alert(CONS_WARNING,
|
CONS_Alert(CONS_WARNING,
|
||||||
"You have not invited this player!\n");
|
"You have not invited this player!\n");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
CONS_Printf(
|
CONS_Printf(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue