This commit is contained in:
Joaquin 2022-06-19 02:21:15 -06:00
parent 17b2fe65da
commit 0ab19849bf

View File

@ -88,8 +88,7 @@ namespace cheat::feature
{
auto& gm = GodMode::GetInstance();
auto& manager = game::EntityManager::instance();
if (gm.f_AltGodMode)
if (manager.avatar()->runtimeID() == attackeeRuntimeID)
if (gm.f_AltGodMode && manager.avatar()->runtimeID() == attackeeRuntimeID)
return;
CALL_ORIGIN(LCBaseCombat_FireBeingHitEvent_Hook, __this, attackeeRuntimeID, attackResult, method);