core: global environment cleanup

This commit is contained in:
Road-block
2019-03-31 14:59:21 +02:00
committed by shagu
parent 9ecafee7d5
commit e50fabfff9
15 changed files with 25 additions and 23 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ pfUI:RegisterModule("autoshift", function ()
for id, errorstring in pairs(pfUI.autoshift.errors) do
if arg1 == errorstring then
for i=0,31,1 do
currBuffTex = GetPlayerBuffTexture(i)
local currBuffTex = GetPlayerBuffTexture(i)
if (currBuffTex) then
for id, bufftype in pairs(pfUI.autoshift.buffs) do
if string.find(string.lower(currBuffTex), bufftype, 1) then