summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorkai <kai@zittrig.eu>2020-05-01 11:21:12 +0100
committerkai <kai@zittrig.eu>2020-05-01 11:21:12 +0100
commit56b85eb35320207ffdac2d2d6dae89fbaaefa1c0 (patch)
treedf12c6fdd2b15039b8948e44dfcfb702bd4e2c50 /src/game
parentb8afc34152545616674d51c2e37570c7980f69ea (diff)
fix the copypasta, the vote has passed, not failed.
Diffstat (limited to 'src/game')
-rw-r--r--src/game/g_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c
index 942643f..b06e512 100644
--- a/src/game/g_main.c
+++ b/src/game/g_main.c
@@ -2618,7 +2618,7 @@ void CheckVote( void )
( (double) votePassThreshold/100.0 ) ) )
{
// execute the command, then remove the vote
- trap_SendServerCommand( -1, va("print \"Vote ^Afailed ^7(^ZYes^7: %d | ^ANo^7: %d | ^dTurnout^7: %s%i%%^7)\n\"",
+ trap_SendServerCommand( -1, va("print \"Vote ^Zpassed ^7(^ZYes^7: %d | ^ANo^7: %d | ^dTurnout^7: %s%i%%^7)\n\"",
level.voteYes, level.voteNo, turnoutCol, turnout ) );
G_LogPrintf( "Vote: Vote passed (%d - %d), turnout: %i%%\n", level.voteYes, level.voteNo, turnout );
level.voteExecuteTime = level.time + 3000;