correctly set become value in console

fixes #16614
This commit is contained in:
Brian Coca 2016-07-07 10:41:59 -04:00
parent eeea6b5f54
commit 906dc99c64

View file

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