mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Fix Ban_Add usage for NONET
This commit is contained in:
parent
7424df8180
commit
6efb15c6e8
1 changed files with 2 additions and 0 deletions
|
@ -2701,8 +2701,10 @@ static void Got_KickCmd(UINT8 **p, INT32 playernum)
|
|||
{
|
||||
if (I_Ban && !I_Ban(playernode[(INT32)pnum]))
|
||||
CONS_Alert(CONS_WARNING, M_GetText("Too many bans! Geez, that's a lot of people you're excluding...\n"));
|
||||
#ifndef NONET
|
||||
else
|
||||
Ban_Add(reason);
|
||||
#endif
|
||||
}
|
||||
|
||||
switch (msg)
|
||||
|
|
Loading…
Reference in a new issue