Skip to content

Commit

Permalink
Merge pull request #201 from ampreeT/idleanims-spec-fix
Browse files Browse the repository at this point in the history
Fix Idle Animation Model Transmitting
  • Loading branch information
ampreeT authored Dec 27, 2024
2 parents eec7c99 + 635ea1d commit d482859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripting/include/srccoop/blackmesa/idle_anims.inc
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public Action IdleAnims_Hook_SetTransmit(const int iEntity, const int iClient)

if (eObserverMode != OBS_MODE_NONE)
{
if (eObserverMode == OBS_MODE_IN_EYE)
if (eObserverMode == OBS_MODE_IN_EYE && pPlayer.GetObserverTarget() == pParentPlayer)
{
return Plugin_Handled;
}
Expand Down

0 comments on commit d482859

Please sign in to comment.