Fixed a bug in @open (issue104). Some other refinements.
This commit is contained in:
parent
cbdeae5334
commit
1ed013dc11
4 changed files with 10 additions and 8 deletions
|
|
@ -719,8 +719,8 @@ class CmdOpen(ObjManipCommand):
|
|||
# give error message and return
|
||||
caller.search(exit_name)
|
||||
return
|
||||
exit_obj = exit_obj[0]
|
||||
if exit_obj:
|
||||
exit_obj = exit_obj
|
||||
if exit_obj:
|
||||
if not exit_obj.db._destination:
|
||||
# we are trying to link a non-exit
|
||||
string = "'%s' already exists and is not an exit!\nIf you want to convert it "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue