Browse Source

Ignore leave requests if the player leaving is the local player

pull/1031/head
staphen 4 years ago committed by Anders Jenbo
parent
commit
08494378e4
  1. 4
      Source/multi.cpp

4
Source/multi.cpp

@ -226,6 +226,10 @@ void ParseTurn(int pnum, uint32_t turn)
void PlayerLeftMsg(int pnum, bool left)
{
if (pnum == MyPlayerId) {
return;
}
auto &player = Players[pnum];
if (!player.plractive) {

Loading…
Cancel
Save