correctly set become value in console

fixes #16614
pull/16575/merge
Brian Coca 9 years ago
parent eeea6b5f54
commit 906dc99c64

@ -301,7 +301,7 @@ class ConsoleCLI(CLI, cmd.Cmd):
def do_become(self, arg): def do_become(self, arg):
"""Toggle whether plays run with become""" """Toggle whether plays run with become"""
if arg: if arg:
self.options.become_user = arg self.options.become = C.mk_boolean(arg)
display.v("become changed to %s" % self.options.become) display.v("become changed to %s" % self.options.become)
self.set_prompt() self.set_prompt()
else: else:

Loading…
Cancel
Save