Commit a00d14d6 authored by Blazeflack's avatar Blazeflack

Fixed issue with temp enchants

This fixes #9
parent 554cd882
......@@ -218,7 +218,7 @@ function VAT:UpdateTempEnchant(button, index)
local offset = 2
local weapon = button:GetName():sub(-1)
if weapon:match("2") then
offset = 5
offset = 6
end
local expirationTime = select(offset, GetWeaponEnchantInfo())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment