mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-23 20:29:45 +08:00
[zh-tw] Add Traditional Chinese (#79)
* Add Traditional Chinese Game Resources * Update .csproj include zh-tw files Remove test avatars * Remove give avatar warning label * Update version to 1.5.1 * Add FormMain.zh-TW.resx Add Resources.zh-TW.resx * Add FormGachaBannerEditor2.zh-TW.resx Add FormTextMapBrowser.zh-TW.resx * Update todo list Completed traditional Chinese Translation * Fix long avatar id issue Co-authored-by: 筱傑 <jie65535@qq.com>
This commit is contained in:
@@ -118,7 +118,7 @@ namespace GrasscutterTools.Forms
|
||||
if (GameData.AvatarColors.Names[i] == color)
|
||||
{
|
||||
var id = GameData.AvatarColors.Ids[i];
|
||||
var index = Array.IndexOf(GameData.Avatars.Ids, id % 1000 + 10000000);
|
||||
var index = Array.IndexOf(GameData.Avatars.Ids, id);
|
||||
if (index >= 0)
|
||||
yield return (id, GameData.Avatars.Names[index]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user