From 1aa93f6152f585ae1b0e69e99e0f68254b0716ee Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 27 Apr 2019 18:33:07 +0200 Subject: [PATCH] Let THING_INVENTORY also re-position things to owner. --- new/plomrogue/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/new/plomrogue/commands.py b/new/plomrogue/commands.py index a62064e..48457f9 100644 --- a/new/plomrogue/commands.py +++ b/new/plomrogue/commands.py @@ -56,6 +56,7 @@ def cmd_THING_INVENTORY(game, id_, ids): for id_ in ids: t = game.world.get_thing(id_) t.in_inventory = True + t.position = carrier.position cmd_THING_INVENTORY.argtypes = 'int:nonneg seq:int:nonneg' def cmd_THING_HEALTH(game, id_, health): -- 2.30.2