From 42403b63956f54c83c4ef83d422a1ff05f64064a Mon Sep 17 00:00:00 2001 From: Ofrex <30585460+Ofrex@users.noreply.github.com> Date: Fri, 10 Feb 2023 10:30:38 +0000 Subject: [PATCH] Update ObjectManager.lua Forced 'player' to be pushed into EnumFriends table - can now be healed as part of "lowest" function --- src/ObjectManager/ObjectManager.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ObjectManager/ObjectManager.lua b/src/ObjectManager/ObjectManager.lua index 5cd2bc4..581d528 100644 --- a/src/ObjectManager/ObjectManager.lua +++ b/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