From caa8ce67814b782510605d99ec5b06a78d3194e0 Mon Sep 17 00:00:00 2001 From: Permamiss <39325797+Permamiss@users.noreply.github.com> Date: Mon, 21 Jun 2021 02:07:02 -0700 Subject: [PATCH] Restore check for HideInBattle Accidentally removed HideInBattle check in previous version; restore check in this version --- main.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.lua b/main.lua index fd391a28..32d250f1 100644 --- a/main.lua +++ b/main.lua @@ -529,6 +529,10 @@ 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