fixed a traceback in contrib.extended_room's look command

This commit is contained in:
Griatch 2012-12-12 01:28:02 +01:00
parent 0ced5287f4
commit 9756314e3d

View file

@ -246,7 +246,7 @@ class CmdExtendedLook(default_cmds.CmdLook):
return
else:
# we need to extract the match manually.
looking_at_obj = looking_at_obj[0]
looking_at_obj = utils.make_iter(looking_at_obj)[0]
else:
looking_at_obj = caller.location
if not looking_at_obj: