Fixed dialogs pause mode

This commit is contained in:
Julian Murgia
2021-11-29 23:26:41 +01:00
parent 3a0518c25b
commit 44056673c9
3 changed files with 3 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ export(Color, RGB) var color_hover = Color(165.0,42.0,42.0, 1.0)
# Hide the chooser at the start just to be safe
func _ready() -> void:
hide_chooser()
pause_mode = PAUSE_MODE_STOP
# Process the timeout display

View File

@@ -32,6 +32,7 @@ onready var tween = $Panel/MarginContainer/HSplitContainer/text/Tween
# Build up the UI
func _ready():
pause_mode = PAUSE_MODE_STOP
_text_speed_per_character = ProjectSettings.get_setting(
"escoria/dialog_simple/text_speed_per_character"
)

View File

@@ -32,6 +32,7 @@ onready var text_node: RichTextLabel = self
# Enable bbcode and catch the signal when a tween completed
func _ready():
pause_mode = PAUSE_MODE_STOP
_text_speed_per_character = ProjectSettings.get_setting(
"escoria/dialog_simple/text_speed_per_character"
)