Render when in "Visuals" tab of EID

Update check so it renders while in "Visuals" tab of EID
This commit is contained in:
Permamiss authored and GitHub committed 2021-06-21 00:55:13 -07:00
1 parent 5960b7fd36
commit 40ea1a5625
1 file changed
+4 -5
+4 -5
View File
@@ -529,10 +529,9 @@ local function onRender(t)
end
if EID.isHidden then
return
elseif EID.Config["HideInBattle"] then
if Isaac.CountBosses() > 0 or Isaac.CountEnemies() > 0 then
return
end
end
if ModConfigMenu and ModConfigMenu.IsVisible and ModConfigMenu.Config["Mod Config Menu"].HideHudInMenu and EID.MCMCompat_isDisplayingEIDTab ~= "Visuals" then --if if the mod config menu exists, is opened and Hide Hud is enabled, and ModConfigMenu is currently in the "Visuals" tab of EID
return
end
EID:renderMCMDummyDescription()
@@ -759,4 +758,4 @@ end
if enableDebug then
require("eid_debugging")
end
end