From a5076ee69457f1b9c1f32e6cf039862628a59ee0 Mon Sep 17 00:00:00 2001 From: bizzclaw Date: Fri, 18 Dec 2015 19:21:37 -0800 Subject: [PATCH] Update sv_player_extension.lua --- lua/pointshop/sv_player_extension.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/pointshop/sv_player_extension.lua b/lua/pointshop/sv_player_extension.lua index f511ce1..44781b4 100644 --- a/lua/pointshop/sv_player_extension.lua +++ b/lua/pointshop/sv_player_extension.lua @@ -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