diff options
Diffstat (limited to 'components/textreveal.gd')
-rw-r--r-- | components/textreveal.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/textreveal.gd b/components/textreveal.gd index 7b96eb3..9b5bfaa 100644 --- a/components/textreveal.gd +++ b/components/textreveal.gd @@ -32,6 +32,8 @@ func _process(delta): var additional = int(t) t -= additional revealed += additional + if additional >= 1: + BackgroundMusic.type_sound() text = to_render.substr(0, revealed) rect_position = -rect_size / 2 + Vector2(xpos, ypos) if to_render.length() <= revealed: |