X-Git-Url: https://plomlompom.com/repos/?p=plomrogue2-experiments;a=blobdiff_plain;f=new%2Fplomrogue%2Fcommands.py;h=48457f9ab1e4b82f49a32742a6693191c2ea8d83;hp=a62064ed46f9c3372fcefce3cf378fdbde9b3143;hb=1aa93f6152f585ae1b0e69e99e0f68254b0716ee;hpb=9bdbb5e222b45fe61147a195aaab28eb56c01fac 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):