Page 1 of 1

config.auto_choice_delay causing TypeError

Posted: Wed Mar 27, 2019 3:59 pm
by wyverngem

Code: Select all

define config.auto_choice_delay = 1
Causes this:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 2205, in script
    menu:
TypeError: list indices must be integers, not ChoiceReturn

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/script.rpy", line 2205, in script
    menu:
  File "G:\Creative\VN\Renpy\renpy\ast.py", line 1608, in execute
    next_node(self.items[choice][2][0])
TypeError: list indices must be integers, not ChoiceReturn

Windows-7-6.1.7601-SP1
Ren'Py 7.2.0.424
newproject 1.0
Wed Mar 27 14:57:03 2019