fixed charge hud showing when disabled closes #84

This commit is contained in:
gigabit101 2015-07-21 14:49:05 +01:00
parent 663b5f2f75
commit f96e55737f

View file

@ -40,8 +40,11 @@ public class ChargeHud
return; return;
if (mc.inGameHasFocus || (mc.currentScreen != null && mc.gameSettings.showDebugInfo)) if (mc.inGameHasFocus || (mc.currentScreen != null && mc.gameSettings.showDebugInfo))
{
if (ConfigTechReborn.ShowChargeHud)
drawChargeHud(event.resolution); drawChargeHud(event.resolution);
} }
}
public void drawChargeHud(ScaledResolution res) public void drawChargeHud(ScaledResolution res)
{ {