Allow !join to vote for a game mode even if already playing
This commit is contained in:
parent
27fe548c2f
commit
6f313217ca
@ -1228,7 +1228,7 @@ def join_player(cli, player, chan, who = None, forced = False):
|
|||||||
|
|
||||||
elif player in pl:
|
elif player in pl:
|
||||||
cli.notice(who, "{0}'re already playing!".format("You" if who == player else "They"))
|
cli.notice(who, "{0}'re already playing!".format("You" if who == player else "They"))
|
||||||
return
|
return True
|
||||||
elif len(pl) >= var.MAX_PLAYERS:
|
elif len(pl) >= var.MAX_PLAYERS:
|
||||||
cli.notice(who, "Too many players! Try again next time.")
|
cli.notice(who, "Too many players! Try again next time.")
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user