mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Dox voters to server
This commit is contained in:
parent
5c9cc631c4
commit
7114d966c1
1 changed files with 9 additions and 0 deletions
|
|
@ -707,6 +707,15 @@ void K_InitNewMidVote(player_t *caller, midVoteType_e type, INT32 variable, play
|
||||||
g_midVote.variable = variable;
|
g_midVote.variable = variable;
|
||||||
g_midVote.victim = victim;
|
g_midVote.victim = victim;
|
||||||
|
|
||||||
|
if (server)
|
||||||
|
{
|
||||||
|
if (victim)
|
||||||
|
CONS_Printf("%s called a vote to %s %s\n", player_names[caller-players], g_midVoteTypeDefs[type].name, player_names[victim-players]);
|
||||||
|
else
|
||||||
|
CONS_Printf("%s called a vote to %s\n", player_names[caller-players], g_midVoteTypeDefs[type].name);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
S_StartSound(NULL, sfx_cdfm67);
|
S_StartSound(NULL, sfx_cdfm67);
|
||||||
|
|
||||||
g_midVote.votes[caller - players] = true;
|
g_midVote.votes[caller - players] = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue