Replace the dictionary by a module path in the menu definition

This commit is contained in:
Vincent Le Goff 2016-04-18 09:17:31 -07:00 committed by Griatch
parent 60d78be90c
commit 937bd01fb8

View file

@ -328,11 +328,5 @@ class CmdUnloggedinLook(Command):
def func(self):
"Execute the menu"
menu = EvMenu(self.caller, {
"start": start,
"username": username,
"password": password,
"create_username": create_username,
"create_password": create_password,
},
menu = EvMenu(self.caller, "evennia.contrib.evmenu_login",
startnode="start", auto_quit=False, node_formatter=_formatter)