From 79694860e136e9dd515760d4774d06cf3c20804e 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 de9de7af6..774ab9c92 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) {