scylla store fix
This commit is contained in:
parent
5ed6b1a325
commit
938ae813da
1 changed files with 9 additions and 1 deletions
|
|
@ -18,7 +18,15 @@ namespace PvZ_Fusion_Translator.Patches.GameObjects
|
|||
{
|
||||
if(__instance.currentSelect != null)
|
||||
{
|
||||
text.text = translatedTravelBuffs[buffLinks[(BuffType)__instance.currentSelect.theBuffType]][__instance.currentSelect.theBuffNumber];
|
||||
var buffList = translatedTravelBuffs[buffLinks[(BuffType)__instance.currentSelect.theBuffType]];
|
||||
if(__instance.currentSelect.theBuffNumber < buffList.Count)
|
||||
{
|
||||
text.text = buffList[__instance.currentSelect.theBuffNumber];
|
||||
}
|
||||
else
|
||||
{
|
||||
text.text = StringStore.TranslateText(text.text);
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach (var textMesh in __instance.points)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue