mirror of
https://github.com/evennia/evennia.git
synced 2026-04-01 21:47:17 +02:00
Updating to make unittests work
This commit is contained in:
parent
f3af089aac
commit
cfd2f111f1
3 changed files with 12 additions and 3 deletions
|
|
@ -325,7 +325,7 @@ class CmdCpAttr(ObjManipCommand):
|
|||
to_obj.attributes.add(to_attr, srcvalue)
|
||||
if ("move" in self.switches and not (from_obj == to_obj and
|
||||
from_attr == to_attr)):
|
||||
from_obj.del_attribute(from_attr)
|
||||
from_obj.attributes.remove(from_attr)
|
||||
string += "\nMoved %s.%s -> %s.%s." % (from_obj.name,
|
||||
from_attr,
|
||||
to_obj_name, to_attr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue