From 672b64392e45a4b79a873076c3ecc060826a39b5 Mon Sep 17 00:00:00 2001 From: 0aubsq <0aubsq@gmail.com> Date: Sat, 25 Jun 2022 20:43:48 +0200 Subject: [PATCH] Minor fix --- .../Stages/15.OpenEncyclopedia/CEncyclopediaControler.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TJAPlayer3/Stages/15.OpenEncyclopedia/CEncyclopediaControler.cs b/TJAPlayer3/Stages/15.OpenEncyclopedia/CEncyclopediaControler.cs index b23bcec4..bfe1d59b 100644 --- a/TJAPlayer3/Stages/15.OpenEncyclopedia/CEncyclopediaControler.cs +++ b/TJAPlayer3/Stages/15.OpenEncyclopedia/CEncyclopediaControler.cs @@ -49,11 +49,11 @@ namespace TJAPlayer3 return _default; } - private string _GetSectionContents(ref KeyValuePair menu) + private string _GetSectionContents(ref KeyValuePair menu, bool _fetchingMenus) { try { - string _path = _GetPathTextFile(@".\Encyclopedia\" + (tIsMenu(menu.Value) ? @"Menus\" : @"Pages\") + menu.Key.ToString()); + string _path = _GetPathTextFile(@".\Encyclopedia\" + (_fetchingMenus ? @"Menus\" : @"Pages\") + menu.Key.ToString()); return File.ReadAllText(_path); } @@ -85,7 +85,7 @@ namespace TJAPlayer3 var _menu = _current.Menus[_idx]; Submenus[i].Item1 = _menu.Key; Submenus[i].Item2 = TJAPlayer3.stage選曲.act曲リスト.ResolveTitleTexture( - new TitleTextureKey(_GetSectionContents(ref _menu), _pfEncyclopediaMenu, Color.White, Color.DarkOrange, 1000)); + new TitleTextureKey(_GetSectionContents(ref _menu, true), _pfEncyclopediaMenu, Color.White, Color.DarkOrange, 1000)); } }