Updates to menu_node to make sure separate, new cmdsets are initialized in different tree instances, as per #596.

This commit is contained in:
Griatch 2014-10-17 19:32:33 +02:00
parent 8a9e1a9b4b
commit 182488a713
2 changed files with 6 additions and 4 deletions

View file

@ -346,7 +346,7 @@ node3 = MenuNode("node3", text=LOGIN_SCREEN_HELP,
class UnloggedInCmdSet(CmdSet):
"Cmdset for the unloggedin state"
key = "UnloggedinState"
key = "DefaultUnloggedin"
priority = 0
def at_cmdset_creation(self):
@ -361,6 +361,7 @@ class CmdUnloggedinLook(Command):
to the menu's own look command..
"""
key = CMD_LOGINSTART
aliases = ["look", "l"]
locks = "cmd:all()"
def func(self):