Commit bd114a25 authored by Constantin's avatar Constantin
Browse files

Merge branch 'master' of

parents 0450200b 3c0b6901
......@@ -53,6 +53,7 @@ class Player(Thing):
assert self.conn == conn, "The player's connection changed?"
data = conn.recv(1024) # Should be ready
if data:
data = data.replace(b'\r', b'')
self.buffer += data
pos = self.buffer.find(b'\n')
while pos >= 0:
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