fix positional argument exception meme
This commit is contained in:
parent
e3e46a34ec
commit
c4123eb636
|
@ -18,4 +18,4 @@ def handle(userToken, _):
|
||||||
# If this is a tournament match, we should send the current status of ready
|
# If this is a tournament match, we should send the current status of ready
|
||||||
# players.
|
# players.
|
||||||
if match.isTourney:
|
if match.isTourney:
|
||||||
match.sendReadyStatus(match)
|
match.sendReadyStatus()
|
||||||
|
|
|
@ -326,7 +326,7 @@ class token:
|
||||||
self.enqueue(serverPackets.notification("You are now in a tournament match."))
|
self.enqueue(serverPackets.notification("You are now in a tournament match."))
|
||||||
# If an user joins, then the ready status of the match changes and
|
# If an user joins, then the ready status of the match changes and
|
||||||
# maybe not all users are ready.
|
# maybe not all users are ready.
|
||||||
match.sendReadyStatus(match)
|
match.sendReadyStatus()
|
||||||
|
|
||||||
def leaveMatch(self):
|
def leaveMatch(self):
|
||||||
"""
|
"""
|
||||||
|
@ -360,7 +360,7 @@ class token:
|
||||||
if match.isTourney:
|
if match.isTourney:
|
||||||
# If an user leaves, then the ready status of the match changes and
|
# If an user leaves, then the ready status of the match changes and
|
||||||
# maybe all users are ready. Or maybe nobody is in the match anymore
|
# maybe all users are ready. Or maybe nobody is in the match anymore
|
||||||
match.sendReadyStatus(match)
|
match.sendReadyStatus()
|
||||||
|
|
||||||
def kick(self, message="You have been kicked from the server. Please login again.", reason="kick"):
|
def kick(self, message="You have been kicked from the server. Please login again.", reason="kick"):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user