From: Christian Heller Date: Wed, 16 Dec 2020 20:26:35 +0000 (+0100) Subject: Don't send anyone's bladder data to everyone. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/template?a=commitdiff_plain;h=a2ae7f2fa2c5188c91c093800404779895c35891;p=plomrogue2 Don't send anyone's bladder data to everyone. --- diff --git a/plomrogue/game.py b/plomrogue/game.py index 5f91a11..1658808 100755 --- a/plomrogue/game.py +++ b/plomrogue/game.py @@ -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(),