proper Hold Tab desc
This commit is contained in:
1 parent
0fdce2e90a
commit
4f92b58968
1 file changed
+4
-9
@@ -1497,15 +1497,10 @@ local function onRender(t)
|
|||||||
|
|
||||||
-- handle showing the Hold Map Helper description
|
-- handle showing the Hold Map Helper description
|
||||||
if EID.holdTabCounter >= 30 and EID.TabDescThisFrame == false and EID.holdTabPlayer ~= nil then
|
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)
|
||||||
--local demoDescObj = EID:getDescriptionObj(-999, -1, 1)
|
demoDescObj.Name = ""
|
||||||
--demoDescObj.Name = ""
|
demoDescObj.Description = EID:getHoldMapDescription(EID.holdTabPlayer)
|
||||||
--demoDescObj.Description = EID:getHoldMapDescription()
|
EID:addDescriptionToPrint(demoDescObj, 1)
|
||||||
local heldActive = EID.holdTabPlayer:GetActiveItem()
|
|
||||||
if heldActive then
|
|
||||||
local demoDescObj = EID:getDescriptionObj(5, 100, heldActive)
|
|
||||||
EID:addDescriptionToPrint(demoDescObj, 1)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
EID:printDescriptions()
|
EID:printDescriptions()
|
||||||
|
|||||||
Reference in new issue
Block a user