fixed charge hud showing when disabled closes #84
This commit is contained in:
parent
663b5f2f75
commit
f96e55737f
1 changed files with 4 additions and 1 deletions
|
@ -40,7 +40,10 @@ public class ChargeHud
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (mc.inGameHasFocus || (mc.currentScreen != null && mc.gameSettings.showDebugInfo))
|
if (mc.inGameHasFocus || (mc.currentScreen != null && mc.gameSettings.showDebugInfo))
|
||||||
drawChargeHud(event.resolution);
|
{
|
||||||
|
if (ConfigTechReborn.ShowChargeHud)
|
||||||
|
drawChargeHud(event.resolution);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void drawChargeHud(ScaledResolution res)
|
public void drawChargeHud(ScaledResolution res)
|
||||||
|
|
Loading…
Reference in a new issue