Skip to content

Commit

Permalink
fix multiplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
jeenyuhs committed Aug 18, 2024
1 parent 3621965 commit d0f99da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/bancho.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d0f99da

Please sign in to comment.