Card Reading portals only read Line #1

This commit is contained in:
Buurazu authored and GitHub committed 2022-05-28 20:08:24 -04:00
1 parent cf557d02ff
commit 7c4997d930
1 file changed
+2
+2
View File
@@ -1361,6 +1361,8 @@ local function onRender(t)
local descriptionObj = EID:getDescriptionObj(5, 300, subtypeToCard[closest.SubType+1], closest, false)
-- Card Reading's name
descriptionObj.Name = EID:getObjectName(5, 100, 660)
-- Only keep the first line of the description
descriptionObj.Description = string.sub(descriptionObj.Description, 1, string.find(descriptionObj.Description, "#"))
EID:addDescriptionToPrint(descriptionObj)
-- Handle Crane Game
elseif closest.Type == 6 and closest.Variant == 16 then