Merge branch 'cassidy'

This commit is contained in:
SillyStar-Github 2025-11-17 16:48:24 -05:00
commit 3a0a2f5667

View file

@ -79,6 +79,11 @@ namespace PvZ_Fusion_Translator.Patches.GameObjects.MinorObjects
public static string TranslateHPText(string originalText, Zombie __instance) public static string TranslateHPText(string originalText, Zombie __instance)
{ {
if(originalText == null)
{
return originalText;
}
string finalText = __instance.healthText.text; string finalText = __instance.healthText.text;
int fIndex = -1; int fIndex = -1;
bool found = false; bool found = false;