.BANCHO. .FIX. Fix leave match right after joining
This commit is contained in:
parent
17a8636de7
commit
48925c58c0
|
@ -19,7 +19,8 @@ def joinMatch(userToken, matchID, password, isPasswordHashed = False):
|
||||||
userToken.stopSpectating()
|
userToken.stopSpectating()
|
||||||
|
|
||||||
# Leave other matches
|
# Leave other matches
|
||||||
userToken.partMatch()
|
if userToken.matchID > -1 and userToken.matchID != matchID:
|
||||||
|
userToken.partMatch()
|
||||||
|
|
||||||
# Get usertoken data
|
# Get usertoken data
|
||||||
userID = userToken.userID
|
userID = userToken.userID
|
||||||
|
|
Loading…
Reference in New Issue
Block a user