netclientleft bugfix
This commit is contained in:
1 parent
3b8851676e
commit
8eea5a267d
1 file changed
+1
-2
@@ -3371,8 +3371,7 @@ void gameTableImpl::restoreGameTableGeometry()
|
||||
|
||||
void gameTableImpl::netClientPlayerLeft(unsigned playerId) {
|
||||
|
||||
assert(myStartWindow->getSession()->getCurrentGame());
|
||||
if (myStartWindow->getSession()->isNetworkClientRunning()) {
|
||||
if (myStartWindow->getSession()->getCurrentGame() && myStartWindow->getSession()->isNetworkClientRunning()) {
|
||||
|
||||
boost::shared_ptr<PlayerInterface> tmpPlayer = myStartWindow->getSession()->getCurrentGame()->getPlayerByUniqueId(playerId);
|
||||
if (tmpPlayer.get()) {
|
||||
|
||||
Reference in new issue
Block a user