Skip to content

Commit

Permalink
GamePlayer.SwitchWeapon: Remove superfluous call to `SendUpdateWeap…
Browse files Browse the repository at this point in the history
…onAndArmorStats`

Let `OnItemEquipped` and `OnItemUnequipped` do it instead.
  • Loading branch information
bm01 committed Aug 17, 2024
1 parent c6ff6d5 commit b76c171
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions GameServer/gameobjects/GamePlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5972,8 +5972,6 @@ public override void SwitchWeapon(eActiveWeaponSlot slot)
// Update active weapon appearence (has to be done with all
// equipment in the packet else player is naked)
UpdateEquipmentAppearance();
//Send new weapon stats
Out.SendUpdateWeaponAndArmorStats();
}
}

Expand Down

0 comments on commit b76c171

Please sign in to comment.