O Comm vote can no longer be avoided if the player gets out of the chair and jumps back in.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@389 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2006-04-15 02:49:58 +00:00
parent 258c1f27c8
commit 83d73162d3

View file

@ -1758,8 +1758,8 @@ void AvHTeam::UpdateVoting()
{
bool theResetVote = false;
// If commander logs out after vote started, cancel vote
if(this->mCommander != this->mCommanderWhenVoteStarted)
// If a new comm logs in after vote started, cancel vote
if((this->mCommander > 0) && (this->mCommander != this->mCommanderWhenVoteStarted))
{
theMessageForPlayers = kVoteCancelled;
theResetVote = true;