Bugfix #0000020: Ability to start a vote not restored when leaving a game
This commit is contained in:
@@ -2865,6 +2865,7 @@ void gameTableImpl::networkGameModification() {
|
|||||||
for (i=0; i<MAX_NUMBER_OF_PLAYERS; i++ ) {
|
for (i=0; i<MAX_NUMBER_OF_PLAYERS; i++ ) {
|
||||||
playerAvatarLabelArray[i]->setEnabledContextMenu(TRUE);
|
playerAvatarLabelArray[i]->setEnabledContextMenu(TRUE);
|
||||||
playerAvatarLabelArray[i]->setVoteOnKickContextMenuEnabled(TRUE);
|
playerAvatarLabelArray[i]->setVoteOnKickContextMenuEnabled(TRUE);
|
||||||
|
playerAvatarLabelArray[i]->setVoteRunning(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_INTERNET) {
|
if(myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_INTERNET) {
|
||||||
|
|||||||
Reference in New Issue
Block a user