correctly set become value in console

fixes #16614

(cherry picked from commit 906dc99c64)
pull/16670/head
Brian Coca 9 years ago
parent 5b9f795140
commit 11eefdc486

@ -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