equal
deleted
inserted
replaced
213 // return if max playing teams reached |
213 // return if max playing teams reached |
214 if(framePlaying->isFullTeams()) return; |
214 if(framePlaying->isFullTeams()) return; |
215 // dont playing team => playing |
215 // dont playing team => playing |
216 itDontPlay->setColor(framePlaying->getNextColor()); |
216 itDontPlay->setColor(framePlaying->getNextColor()); |
217 team=*itDontPlay; // for net team info saving in framePlaying (we have only name with netID from network) |
217 team=*itDontPlay; // for net team info saving in framePlaying (we have only name with netID from network) |
218 curPlayingTeams.push_back(*itDontPlay); |
218 team.setOwner(m_curUser); |
219 if(!m_acceptOuter) emit teamWillPlay(*itDontPlay); |
219 curPlayingTeams.push_back(team); |
|
220 if(!m_acceptOuter) emit teamWillPlay(team); |
220 m_curNotPlayingTeams.erase(itDontPlay); |
221 m_curNotPlayingTeams.erase(itDontPlay); |
221 |
222 |
222 // Hide team notice if at least two teams. |
223 // Hide team notice if at least two teams. |
223 if (curPlayingTeams.size() >= 2) |
224 if (curPlayingTeams.size() >= 2) |
224 { |
225 { |