Clean up
This commit is contained in:
parent
17b2fe65da
commit
0ab19849bf
@ -88,8 +88,7 @@ namespace cheat::feature
|
|||||||
{
|
{
|
||||||
auto& gm = GodMode::GetInstance();
|
auto& gm = GodMode::GetInstance();
|
||||||
auto& manager = game::EntityManager::instance();
|
auto& manager = game::EntityManager::instance();
|
||||||
if (gm.f_AltGodMode)
|
if (gm.f_AltGodMode && manager.avatar()->runtimeID() == attackeeRuntimeID)
|
||||||
if (manager.avatar()->runtimeID() == attackeeRuntimeID)
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
CALL_ORIGIN(LCBaseCombat_FireBeingHitEvent_Hook, __this, attackeeRuntimeID, attackResult, method);
|
CALL_ORIGIN(LCBaseCombat_FireBeingHitEvent_Hook, __this, attackeeRuntimeID, attackResult, method);
|
||||||
|
Loading…
Reference in New Issue
Block a user