Update AlmanacPlantWindow_Patch.cs

This commit is contained in:
SillyStar-Github 2025-12-26 13:55:35 -05:00
parent c566c95bd5
commit ef1ba3f8bc

View file

@ -49,7 +49,7 @@ namespace PvZ_Fusion_Translator.Patches.GameObjects
text.fontSizeMax = 21; text.fontSizeMax = 21;
} }
__instance.showedPlantIntroduce.text = Utils.RemoveSizeTags(plantInfo.info) + "\n\n" + Utils.RemoveSizeTags(plantInfo.introduce) + "\n\n"; __instance.showedPlantIntroduce.text = Utils.RemoveSizeTags(plantInfo.info) + "\n\n" + Utils.RemoveSizeTags(plantInfo.introduce) + "\n" + Utils.RemoveSizeTags(plantInfo.cost) + "\n\n";
__instance.showedPlantIntroduce.font = fontAsset; __instance.showedPlantIntroduce.font = fontAsset;
__instance.showedPlantIntroduce.margin = new Vector4(6, 2, 12, 0); __instance.showedPlantIntroduce.margin = new Vector4(6, 2, 12, 0);