mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-25 17:32:27 +00:00
Got_KickCmd: Only PROMOTE any regular kick to votekick if that player's the victim, don't downgrade a ban
This commit is contained in:
parent
ddce2e9a2d
commit
34563ebecd
1 changed files with 5 additions and 1 deletions
|
|
@ -3255,7 +3255,11 @@ static void Got_KickCmd(UINT8 **p, INT32 playernum)
|
|||
{
|
||||
// Running the callback here would mean a very dumb infinite loop.
|
||||
// We'll manually handle this here by changing the msg type.
|
||||
msg = KICK_MSG_VOTE_KICK;
|
||||
if (msg != KICK_MSG_BANNED && msg != KICK_MSG_CUSTOM_BAN)
|
||||
{
|
||||
// of course, don't take the teeth out of a ban
|
||||
msg = KICK_MSG_VOTE_KICK;
|
||||
}
|
||||
K_MidVoteFinalize(FRACUNIT); // Vote succeeded, so the delay is normal.
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue