diff --git a/MelonLoader/Patches/GameObjects/MinorObjects/Zombie_Patch.cs b/MelonLoader/Patches/GameObjects/MinorObjects/Zombie_Patch.cs index 6da74c5..bcdd189 100644 --- a/MelonLoader/Patches/GameObjects/MinorObjects/Zombie_Patch.cs +++ b/MelonLoader/Patches/GameObjects/MinorObjects/Zombie_Patch.cs @@ -79,6 +79,11 @@ namespace PvZ_Fusion_Translator.Patches.GameObjects.MinorObjects public static string TranslateHPText(string originalText, Zombie __instance) { + if(originalText == null) + { + return originalText; + } + string finalText = __instance.healthText.text; int fIndex = -1; bool found = false;