home · contact · privacy
Only send chatface message to listener.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 11 Dec 2020 03:44:48 +0000 (04:44 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 11 Dec 2020 03:44:48 +0000 (04:44 +0100)
plomrogue/things.py

index 0195a623f88e2426f214d56b1ce80b5bad887ac4..7168f7816fd97faa4b9426ab185a7bb4472aac4a 100644 (file)
@@ -95,7 +95,7 @@ class Thing(ThingBase):
                                                                lowered_msg)),
                               c_id)
             if listener.fov_test(self.position[0], self.position[1]):
-                self.game.io.send('CHATFACE %s' % self.id_)
+                self.game.io.send('CHATFACE %s' % self.id_, c_id)