From c334043ee7cdd8008fc9e441fcbc4a9b7fe295f5 Mon Sep 17 00:00:00 2001 From: Anna Date: Fri, 9 Sep 2022 05:39:33 -0400 Subject: [PATCH] ye --- client/Messages.cs | 1 + client/Ui/MainWindowTabs/Settings.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/Messages.cs b/client/Messages.cs index 5a7b20b..da6ebd9 100644 --- a/client/Messages.cs +++ b/client/Messages.cs @@ -14,6 +14,7 @@ internal class Messages : IDisposable { "bg/ffxiv/fst_f1/common/vfx/eff/b0941trp1c_o.avfx", "bg/ffxiv/fst_f1/common/vfx/eff/b0941trp1d_o.avfx", "bg/ffxiv/fst_f1/common/vfx/eff/b0941trp1e_o.avfx", + "bg/ex2/02_est_e3/common/vfx/eff/b0941trp1f_o.avfx", }; private Plugin Plugin { get; } diff --git a/client/Ui/MainWindowTabs/Settings.cs b/client/Ui/MainWindowTabs/Settings.cs index 9b04c3a..1d18167 100644 --- a/client/Ui/MainWindowTabs/Settings.cs +++ b/client/Ui/MainWindowTabs/Settings.cs @@ -188,7 +188,7 @@ internal class Settings : ITab { var glyph = this.Plugin.Config.DefaultGlyph + 1; if (ImGui.InputInt("Default glyph", ref glyph)) { - this.Plugin.Config.DefaultGlyph = Math.Min(4, Math.Max(0, glyph - 1)); + this.Plugin.Config.DefaultGlyph = Math.Min(Messages.VfxPaths.Length - 1, Math.Max(0, glyph - 1)); anyChanged = true; } }