Skip to content

Commit

Permalink
Fix spider web hook worked on humans despite of active Love effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine committed Nov 2, 2024
1 parent 4a822d9 commit 868f4d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/game/server/infclass/classes/infected/infected.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,9 @@ void CInfClassInfected::GhostPreCoreTick()

void CInfClassInfected::SpiderPreCoreTick()
{
if(m_pCharacter->IsInLove())
return;

if(m_pCharacter->WebHookLength() > 48.0f && m_pCharacter->GetHookedPlayer() < 0)
{
// Find other players
Expand Down

0 comments on commit 868f4d4

Please sign in to comment.