Restore check for HideInBattle
Accidentally removed HideInBattle check in previous version; restore check in this version
This commit is contained in:
1 parent
40ea1a5625
commit
caa8ce6781
1 file changed
+4
@@ -529,6 +529,10 @@ local function onRender(t)
|
|||||||
end
|
end
|
||||||
if EID.isHidden then
|
if EID.isHidden then
|
||||||
return
|
return
|
||||||
|
elseif EID.Config["HideInBattle"] then
|
||||||
|
if Isaac.CountBosses() > 0 or Isaac.CountEnemies() > 0 then
|
||||||
|
return
|
||||||
|
end
|
||||||
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
|
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
|
return
|
||||||
|
|||||||
Reference in new issue
Block a user