From 6c71aa302c802aaf4c6d6f2ed27441a7ec973ae3 Mon Sep 17 00:00:00 2001 From: cmod31 Date: Fri, 17 Mar 2023 10:01:06 +0100 Subject: [PATCH] removed useless function --- .../dialogue-system/dialog_bubble.cs | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/src/scene-scripts/dialogue-system/dialog_bubble.cs b/src/scene-scripts/dialogue-system/dialog_bubble.cs index 88caf4c..9e3408a 100644 --- a/src/scene-scripts/dialogue-system/dialog_bubble.cs +++ b/src/scene-scripts/dialogue-system/dialog_bubble.cs @@ -65,7 +65,17 @@ public partial class dialog_bubble : CanvasLayer { if (Visible) ProcessMode = ProcessModeEnum.Inherit; - else ProcessMode = ProcessModeEnum.Disabled; + else if (richText != null) + { + dlgPointer = 0; + richText.VisibleCharacters = -1; + GetNode