Fixed Bag of crafting not updating when EID is in hidden mode
This commit is contained in:
1 parent
beb4cad9f6
commit
e8b1e7f70c
2 files changed
+16
-7
No files matched your search
@@ -538,13 +538,6 @@ local function onRender(t)
|
||||
if Input.IsButtonTriggered(EID.Config["HideKey"], 0) then
|
||||
EID.isHidden = not EID.isHidden
|
||||
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
|
||||
@@ -571,6 +564,14 @@ local function onRender(t)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if EID.isHidden then
|
||||
return
|
||||
elseif EID.Config["HideInBattle"] then
|
||||
if Isaac.CountBosses() > 0 or Isaac.CountEnemies() > 0 then
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
if EID.isDisplayingPermanent and EID.permanentDisplayTextObj ~= nil then
|
||||
EID:printDescription(EID.permanentDisplayTextObj)
|
||||
|
||||
Reference in new issue
Block a user