1
0
mirror of synced 2025-01-31 12:03:51 +01:00

Fix Puchichara list crashing on Quick Heya (#686)

This commit is contained in:
DragonRatTiger / リュウコ 2024-09-30 04:47:42 -05:00 committed by GitHub
parent 60b3349444
commit fcbdac3b44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -459,13 +459,13 @@ namespace OpenTaiko {
OpenTaiko.Tx.Puchichara[index].tx?.tUpdateColor4(CConversion.ColorToColor4(Color.White));
if (ttkCharacterNames[index] != null) {
if (ttkPuchiCharaNames[index] != null) {
CTexture tmpTex = TitleTextureKey.ResolveTitleTexture(ttkPuchiCharaNames[index]);
tmpTex.t2D拡大率考慮上中央基準描画(x + OpenTaiko.Skin.SongSelect_NewHeya_Box_Name_Offset[0], y + OpenTaiko.Skin.SongSelect_NewHeya_Box_Name_Offset[1]);
}
if (ttkCharacterAuthors[index] != null) {
if (ttkPuchiCharaAuthors[index] != null) {
CTexture tmpTex = TitleTextureKey.ResolveTitleTexture(ttkPuchiCharaAuthors[index]);
tmpTex.t2D拡大率考慮上中央基準描画(x + OpenTaiko.Skin.SongSelect_NewHeya_Box_Author_Offset[0], y + OpenTaiko.Skin.SongSelect_NewHeya_Box_Author_Offset[1]);