From d0f99da15692475ee93bfa01a98a071bdbb27b5b Mon Sep 17 00:00:00 2001 From: Simon G <45692977+jeenyuhs@users.noreply.github.com> Date: Sun, 18 Aug 2024 11:09:58 +0000 Subject: [PATCH] fix multiplayer --- events/bancho.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/bancho.py b/events/bancho.py index 4effa5e..3c6947d 100644 --- a/events/bancho.py +++ b/events/bancho.py @@ -906,7 +906,7 @@ async def mp_complete(player: Player, sr: Reader) -> None: ] for slot in match.slots: - if slot.player in players_played: + if slot.player is not None and slot.player in players_played: slot.status = SlotStatus.NOTREADY match.in_progress = False