Skip to content

Commit

Permalink
Update Hooks.Misc.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
TaranDahl committed Feb 19, 2025
1 parent 15de3f7 commit 7b010d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ext/Techno/Hooks.Misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ DEFINE_HOOK(0x6B79BF, SpawnManagerClass_AI_CheckRepairDone, 0x5)
{
auto pTarget = abstract_cast<TechnoClass*>(pThis->Target);

if (pTarget && pTarget->GetHealthPercentage() > RulesClass::Instance->unknown_double_16F8)
if (pTarget && pTarget->GetHealthPercentage() >= RulesClass::Instance->unknown_double_16F8)
return ResetTarget;
}
else
Expand Down

0 comments on commit 7b010d4

Please sign in to comment.