Fixed bug in destroy command; cleaned up @dig a bit.

This commit is contained in:
Griatch 2009-10-22 14:30:57 +00:00
parent 9b6bd7125f
commit 557c4eb07b
3 changed files with 35 additions and 28 deletions

View file

@ -150,14 +150,14 @@ class EvenniaBasicObject(object):
description = target_obj.get_attribute_value('desc')
if description is not None:
retval = "%s\r\n%s%s" % (
retval = "%s%s\r\n%s%s%s" % ("%ch%cc",
target_obj.get_name(show_dbref=show_dbrefs),
target_obj.get_attribute_value('desc'), lock_msg
)
target_obj.get_attribute_value('desc'), lock_msg,
"%cn")
else:
retval = "%s" % (
target_obj.get_name(show_dbref=show_dbrefs),
)
retval = "%s%s%s" % ("%ch%cc",
target_obj.get_name(show_dbref=show_dbrefs),
"%cn")
# Storage for the different object types.
con_players = []