From 08494378e40f6b776e15c4cd5684ff5fa0354ba4 Mon Sep 17 00:00:00 2001 From: staphen Date: Sat, 7 May 2022 10:58:34 -0400 Subject: [PATCH] Ignore leave requests if the player leaving is the local player --- Source/multi.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/multi.cpp b/Source/multi.cpp index d653fc322..dfd197007 100644 --- a/Source/multi.cpp +++ b/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) {