mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 01:36:32 +01:00
Make sure to forward no_channels, no_objs and no_exits flags across cmdset merges. Also changes how system commands are saved across merges. Resolves Issue 243.
This commit is contained in:
parent
c2961ce5e2
commit
44bf35cd81
4 changed files with 42 additions and 16 deletions
|
|
@ -206,7 +206,7 @@ class CmdSetHandler(object):
|
|||
permstring = "perm"
|
||||
string += _(" <%(key)s (%(mergetype)s, prio %(prio)i, %(permstring)s)>: %(keylist)s") % \
|
||||
{"key":self.current.key, "mergetype":mergetype, "prio":self.current.priority, "permstring":permstring,
|
||||
"keylost":", ".join(cmd.key for cmd in sorted(self.current, key=lambda o:o.key))}
|
||||
"keylist":", ".join(cmd.key for cmd in sorted(self.current, key=lambda o:o.key))}
|
||||
return string.strip()
|
||||
|
||||
def _import_cmdset(self, cmdset_path, emit_to_obj=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue