When player times out, log the action as a timeout rather than regular quitting

This commit is contained in:
Perttu Ahola 2011-10-16 19:38:56 +03:00
parent 96b2d1fd29
commit 143dce6672

@ -4399,8 +4399,9 @@ void Server::handlePeerChange(PeerChange &c)
os<<player->getName()<<" ";
}
actionstream<<player->getName()
<<" leaves game. List of players: "
actionstream<<player->getName()<<" "
<<(c.timeout?"times out.":"leaves game.")
<<" List of players: "
<<os.str()<<std::endl;
}
}