Skip to content

Commit aec977b

Browse files
committed
Remove swap sockets
1 parent cd0fb7d commit aec977b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Classes/ItemsTab.lua

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,6 @@ local ItemsTabClass = newClass("ItemsTab", "UndoHandler", "ControlHost", "Contro
119119
swapSlot.shown = function()
120120
return self.activeItemSet.useSecondWeaponSet
121121
end
122-
for i = 1, 3 do
123-
local socket = new("ItemSlotControl", {"TOPLEFT",prevSlot,"BOTTOMLEFT"}, 0, 2, self, slotName.." Swap Socket "..i, "Socket #"..i)
124-
addSlot(socket)
125-
socket.parentSlot = swapSlot
126-
socket.weaponSet = 2
127-
socket.shown = function()
128-
return not socket.inactive and self.activeItemSet.useSecondWeaponSet
129-
end
130-
swapSlot.socketList[i] = socket
131-
end
132122
end
133123
end
134124

0 commit comments

Comments
 (0)