This commit is contained in:
Brues
2026-10-23 16:21:05 -05:00
parent dde4a5aa2d
commit 1ad78d43e9
+1 -1
View File
@@ -19,7 +19,7 @@ pfUI:RegisterModule("buff", function ()
local function RefreshBuffButton(buff)
if buff.btype == "HELPFUL" then
if C.buffs.separateweapons == "1" then
buff.id = buff.gid - (buff.weapon ~= nill and buff.gid or 0)
buff.id = buff.gid - (buff.weapon ~= nil and buff.gid or 0)
else
buff.id = buff.gid - pfUI.buff.wepbuffs.count
end