diff --git a/events/joinMatchEvent.py b/events/joinMatchEvent.py index 9693cfa..7397e6a 100644 --- a/events/joinMatchEvent.py +++ b/events/joinMatchEvent.py @@ -19,7 +19,8 @@ def joinMatch(userToken, matchID, password, isPasswordHashed = False): userToken.stopSpectating() # Leave other matches - userToken.partMatch() + if userToken.matchID > -1 and userToken.matchID != matchID: + userToken.partMatch() # Get usertoken data userID = userToken.userID