From dcd10e4a2e4896b7fd6f836088cea4648d1378e4 Mon Sep 17 00:00:00 2001 From: cmod31 Date: Thu, 9 Feb 2023 21:34:24 +0100 Subject: [PATCH] added comment --- src/scene-scripts/dialogue-system/dialog_bubble.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scene-scripts/dialogue-system/dialog_bubble.cs b/src/scene-scripts/dialogue-system/dialog_bubble.cs index 2bfcc94..25948a1 100644 --- a/src/scene-scripts/dialogue-system/dialog_bubble.cs +++ b/src/scene-scripts/dialogue-system/dialog_bubble.cs @@ -49,6 +49,7 @@ public partial class dialog_bubble : CanvasLayer dlgPointer = 0; dlgLines = parsedDlg.AsGodotDictionary()[key].AsGodotArray(); dlgLines = dlgLines.AsGodotArray()[GD.RandRange(0, dlgLines.AsGodotArray().Count - 1)]; + //TODO:copy a clean default array and remove already used indexes and copy from clean array when its empty } public void CloseDialog()