home · contact · privacy
Don't send anyone's bladder data to everyone.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 16 Dec 2020 20:26:35 +0000 (21:26 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 16 Dec 2020 20:26:35 +0000 (21:26 +0100)
plomrogue/game.py

index 5f91a1118c5932794945e015b5091fecae0b486e..1658808eda6d1ae108045961e83a75a2bf25b996 100755 (executable)
@@ -277,7 +277,7 @@ class Game(GameBase):
             player = self.get_player(c_id)
             self.io.send('PLAYERS_HAT_CHARS ' + quote(player.get_cookie_chars()),
                          c_id)
-            self.io.send('BLADDER_PRESSURE %s' % player.need_for_toilet)
+            self.io.send('BLADDER_PRESSURE %s' % player.need_for_toilet, c_id)
             if player.id_ in player_ids_send_fov:
                 self.io.send('FOV %s' % quote(player.fov_stencil.terrain), c_id)
                 self.io.send('MAP %s %s %s' % (self.get_map_geometry_shape(),