Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on maximum players reached #9

Closed
Rardian opened this issue Feb 2, 2017 · 1 comment
Closed

error on maximum players reached #9

Rardian opened this issue Feb 2, 2017 · 1 comment

Comments

@Rardian
Copy link

Rardian commented Feb 2, 2017

missing param ws in game.join:

def join(self, player):
    ...
    if self.count_alive_players() == settings.MAX_PLAYERS:
        self.send_personal(->ws<-, "error", "Maximum players reached")
        return
kirrx added a commit that referenced this issue Mar 25, 2017
@kirrx
Copy link
Collaborator

kirrx commented Mar 25, 2017

thanks for noting, that should be "player.ws"

@kirrx kirrx closed this as completed Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants