Fixed Disable Dynamic Health text for The Lost not working

closes #798
This commit is contained in:
Wofsauge committed 2025-04-21 15:15:05 +02:00
1 parent 0d2345eff6
commit fe4cf6f747
13 files changed
+7 -13

No files matched your search

+2 -1
View File
@@ -351,7 +351,8 @@ local function HealthUpCallback(descObj)
-- check if we just made the description blank
if descObj.Description:gsub("#", "") == "" then
local noEffectStr = EID:getDescriptionEntry("ConditionalDescs", "No Effect")
descObj.Description = EID:GetPlayerIcon(playerType) .. " " .. EID:ReplaceVariableStr(noEffectStr, EID:getPlayerName(playerType))
local playerName = "{{ColorIsaac}}"..EID:getPlayerName(playerType) .. "{{CR}}"
descObj.Description = EID:GetPlayerIcon(playerType) .. " " .. EID:ReplaceVariableStr(noEffectStr, playerName)
end
end