forked from Mirrorlandia_minetest/minetest
When player times out, log the action as a timeout rather than regular quitting
This commit is contained in:
parent
96b2d1fd29
commit
143dce6672
@ -4399,8 +4399,9 @@ void Server::handlePeerChange(PeerChange &c)
|
|||||||
os<<player->getName()<<" ";
|
os<<player->getName()<<" ";
|
||||||
}
|
}
|
||||||
|
|
||||||
actionstream<<player->getName()
|
actionstream<<player->getName()<<" "
|
||||||
<<" leaves game. List of players: "
|
<<(c.timeout?"times out.":"leaves game.")
|
||||||
|
<<" List of players: "
|
||||||
<<os.str()<<std::endl;
|
<<os.str()<<std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user