Skip to content

Commit 17c5a7b

Browse files
committed
Fix bank bags count on classic era
1 parent acc29bb commit 17c5a7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Core/Constants.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,13 @@ if Syndicator.Constants.IsEra or KeyRingButtonIDToInvSlotID then
7878
end
7979
if Syndicator.Constants.IsEra then
8080
Syndicator.Constants.BankBagSlotsCount = 6
81+
elseif Syndicator.Constants.IsClassic then
82+
Syndicator.Constants.BankBagSlotsCount = 7
8183
end
8284
if Syndicator.Constants.IsClassic then
8385
Syndicator.Constants.AllBankIndexes = {
8486
Enum.BagIndex.Bank,
8587
}
86-
Syndicator.Constants.BankBagSlotsCount = 7
8788
-- Workaround for the enum containing the wrong values for the bank bag slots
8889
for i = 1, Syndicator.Constants.BankBagSlotsCount do
8990
Syndicator.Constants.AllBankIndexes[i + 1] = NUM_BAG_SLOTS + i

0 commit comments

Comments
 (0)