1
0
mirror of synced 2024-11-15 03:17:36 +01:00

Fix Character not appearing bug when Chara P1 = Chara P2

This commit is contained in:
0aubsq 2021-11-27 13:05:05 +01:00
parent 082c068569
commit 8a4d623254

View File

@ -889,7 +889,7 @@ namespace TJAPlayer3
#endregion
for (int i = 0; i < 2; i++)
this.ReloadCharacter(-1, TJAPlayer3.NamePlateConfig.data.Character[i], i);
this.ReloadCharacter(-1, TJAPlayer3.NamePlateConfig.data.Character[i], i, i == 0);
for (int i = 0; i < TJAPlayer3.Skin.Characters_Ptn; i++)
Characters_Heya_Preview[i] = TxC(CHARACTERS + i.ToString() + @"\Normal\0.png");
@ -901,7 +901,7 @@ namespace TJAPlayer3
public void ReloadCharacter(int old, int newC, int player)
public void ReloadCharacter(int old, int newC, int player, bool primary = false)
{
if (old == newC)
return;
@ -977,7 +977,7 @@ namespace TJAPlayer3
#endregion
}
if (newC >= 0 && TJAPlayer3.NamePlateConfig.data.Character[other] != newC)
if ((newC >= 0 && TJAPlayer3.NamePlateConfig.data.Character[other] != newC) || primary)
{
int i = newC;