mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 07:16:31 +01:00
Fixed bug in destroy command; cleaned up @dig a bit.
This commit is contained in:
parent
9b6bd7125f
commit
557c4eb07b
3 changed files with 35 additions and 28 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue