From 4f92b58968c6dc7999ea0389346ece49be31192d Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sat, 4 Jun 2022 22:32:58 -0400 Subject: [PATCH] proper Hold Tab desc --- main.lua | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/main.lua b/main.lua index 62227f83..b93a6f86 100644 --- a/main.lua +++ b/main.lua @@ -1497,15 +1497,10 @@ local function onRender(t) -- handle showing the Hold Map Helper description if EID.holdTabCounter >= 30 and EID.TabDescThisFrame == false and EID.holdTabPlayer ~= nil then - -- at the moment, just show the description of the player's active item - --local demoDescObj = EID:getDescriptionObj(-999, -1, 1) - --demoDescObj.Name = "" - --demoDescObj.Description = EID:getHoldMapDescription() - local heldActive = EID.holdTabPlayer:GetActiveItem() - if heldActive then - local demoDescObj = EID:getDescriptionObj(5, 100, heldActive) - EID:addDescriptionToPrint(demoDescObj, 1) - end + local demoDescObj = EID:getDescriptionObj(-999, -1, 1) + demoDescObj.Name = "" + demoDescObj.Description = EID:getHoldMapDescription(EID.holdTabPlayer) + EID:addDescriptionToPrint(demoDescObj, 1) end EID:printDescriptions()