X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=new2%2Fplomrogue%2Fio.py;h=acf58d4adf177b2e5ce779d4a58a8c5f9b4c8b00;hb=bee25e81510591ade84600d509477231b0bcd28c;hp=908d7bf504b7c304c937729b1bb5cccb3f47538b;hpb=40681bd38201ef0caf64a979c97318b090f5cbc0;p=plomrogue2-experiments diff --git a/new2/plomrogue/io.py b/new2/plomrogue/io.py index 908d7bf..acf58d4 100644 --- a/new2/plomrogue/io.py +++ b/new2/plomrogue/io.py @@ -91,5 +91,6 @@ class GameIO(): if connection_id: self.server.clients[connection_id].put(msg) else: - for c in self.server.clients.values(): - c.put(msg) + for c_id in self.game.sessions: + client = self.server.clients[c_id] + client.put(msg)