Update ObjectManager.lua

Forced 'player' to be pushed into EnumFriends table - can now be healed as part of "lowest" function
main
Ofrex 2 years ago
parent 8c691161e4
commit 42403b6395
  1. 2
      src/ObjectManager/ObjectManager.lua

@ -72,6 +72,7 @@ function ObjectManager:Refresh()
local objects = Objects()
local _, _, _, _, _, _, _, instanceID = GetInstanceInfo()
local Player = Bastion.UnitManager:Get('player')
for _, object in pairs(objects) do
self:EnumLists(object)
@ -96,6 +97,7 @@ function ObjectManager:Refresh()
end
end
end
self.friends:push(Player)
end
return ObjectManager

Loading…
Cancel
Save