From 40ea1a562578fb6e53d217e73b8e9d1d770c261e Mon Sep 17 00:00:00 2001 From: Permamiss <39325797+Permamiss@users.noreply.github.com> Date: Mon, 21 Jun 2021 00:55:13 -0700 Subject: [PATCH] Render when in "Visuals" tab of EID Update check so it renders while in "Visuals" tab of EID --- main.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/main.lua b/main.lua index a4493b02..fd391a28 100644 --- a/main.lua +++ b/main.lua @@ -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 \ No newline at end of file +end