Skip to content

Commit

Permalink
Update sv_player_extension.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
bizzclaw committed Dec 19, 2015
1 parent 02c31df commit a5076ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/pointshop/sv_player_extension.lua
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ function Player:PS_EquipItem(item_id)

if PS.Items[item_id].Slot then
for id, item in pairs(self.PS_Items) do
if item_id != id and PS.Items[id].Slot and PS.Items[id].Slot == PS.Items[item_id].Slot then
if item_id != id and PS.Items[id].Slot and PS.Items[id].Slot == PS.Items[item_id].Slot and self.PS_Items[id].Equipped then
self:PS_HolsterItem(id)
end
end
Expand Down

0 comments on commit a5076ee

Please sign in to comment.