Commit 9bf07c18 authored by minus's avatar minus

fixed players accumulating

parent de688b5d
......@@ -80,6 +80,7 @@ class Server(object):
self.max_players = int(next(it))
self.clients = int(next(it))
self.max_clients = int(next(it))
self.playerlist = []
for _ in range(self.clients):
player = Player()
player.name=next(it).decode('utf8')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment