Send player ID in update waddle response

This commit is contained in:
Ben 2020-10-15 18:00:58 +01:00
parent f3059cb1d1
commit 75c970c4ca

View File

@ -288,7 +288,7 @@ class RoomWaddle(db.Model):
seat_id = self.penguins.index(None) seat_id = self.penguins.index(None)
self.penguins[seat_id] = p self.penguins[seat_id] = p
await p.send_xt('jw', seat_id) await p.send_xt('jw', seat_id)
await p.room.send_xt('uw', self.id, seat_id, p.safe_name) await p.room.send_xt('uw', self.id, seat_id, p.safe_name, p.id)
p.waddle = self p.waddle = self