Fixed dialogs pause mode

This commit is contained in:
Julian Murgia committed 2021-11-29 23:26:41 +01:00
1 parent 3a0518c25b
commit 44056673c9
3 files changed
+3

No files matched your search

@@ -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
@@ -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"
)
@@ -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"
)