This commit is contained in:
Anna 2022-09-09 05:39:33 -04:00
parent febff28cb7
commit c334043ee7
2 changed files with 2 additions and 1 deletions

View File

@ -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; }

View File

@ -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;
}
}