From b011e37d62013a92db46b89633ba7217aff98998 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 7 Dec 2020 02:59:29 +0100 Subject: [PATCH] Fix bug sending THING_CARRYING to clients who don't know about the carrying Thing yet. --- plomrogue/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]: -- 2.30.2