mirror of
https://github.com/ENSL/NS.git
synced 2024-11-23 21:12:15 +00:00
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:
parent
258c1f27c8
commit
83d73162d3
1 changed files with 2 additions and 2 deletions
|
@ -1758,8 +1758,8 @@ void AvHTeam::UpdateVoting()
|
||||||
{
|
{
|
||||||
bool theResetVote = false;
|
bool theResetVote = false;
|
||||||
|
|
||||||
// If commander logs out after vote started, cancel vote
|
// If a new comm logs in after vote started, cancel vote
|
||||||
if(this->mCommander != this->mCommanderWhenVoteStarted)
|
if((this->mCommander > 0) && (this->mCommander != this->mCommanderWhenVoteStarted))
|
||||||
{
|
{
|
||||||
theMessageForPlayers = kVoteCancelled;
|
theMessageForPlayers = kVoteCancelled;
|
||||||
theResetVote = true;
|
theResetVote = true;
|
||||||
|
|
Loading…
Reference in a new issue