From: Christian Heller Date: Mon, 7 Dec 2020 01:59:29 +0000 (+0100) Subject: Fix bug sending THING_CARRYING to clients who don't know about the carrying Thing... X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/%7B%7Bprefix%7D%7D/%7Broute%7D?a=commitdiff_plain;h=b011e37d62013a92db46b89633ba7217aff98998;p=plomrogue2 Fix bug sending THING_CARRYING to clients who don't know about the carrying Thing yet. --- diff --git a/plomrogue/game.py b/plomrogue/game.py index 7d4103d..fbfec6e 100755 --- a/plomrogue/game.py +++ b/plomrogue/game.py @@ -241,7 +241,7 @@ class Game(GameBase): self.io.send('THING_CHAR %s %s' % (t.id_, quote(t.thing_char)), c_id) if hasattr(t, 'carrying') and t.carrying: - self.io.send('THING_CARRYING %s' % (t.id_)) + self.io.send('THING_CARRYING %s' % (t.id_), c_id) for big_yx in self.portals: for little_yx in [little_yx for little_yx in self.portals[big_yx] if player.fov_test(big_yx, little_yx)]: