Page 1 of 1

6.18 Wait & Call Bug

Posted: Mon Sep 15, 2014 5:24 am
by lynn
I encountered this bug when updating to the new Renpy version.
This bug occurs when you have text that types out one character at a time (cps is not equal to 0).
If you call a label immediately after a line that includes a wait tag, the game types out the sentence multiple times instead of just moving onto the next line.

The bug can be easily replicated like so

Code: Select all

label start:
    "Note that when a wait tag is included in a sentence, {w=0.2} the first part of the sentence types out again if a call is made immediately afterwards."
    call test
    return

label test:
    return
When you run the game, the game will type out

"Note that when a wait tag is included in a sentence, "

and then type out

"Note that when a wait tag is included in a sentence, the first part of the sentence types out again if a call is made immediately afterwards."

(The first part of the sentence "Note that when a wait tag is included in a sentence," gets typed out twice)

(I also included a demo of the bug in the attached package)

Any idea of when this may be fixed?

Re: 6.18 Wait & Call Bug

Posted: Mon Sep 15, 2014 9:50 am
by PyTom
I'm tracking this at:

https://github.com/renpy/renpy/issues/453

This is the sort of bug that will be fixed in 6.18.1.

Re: 6.18 Wait & Call Bug

Posted: Mon Sep 15, 2014 5:28 pm
by lynn
Thanks!