From 6c923d1607bc024456f12983b11cfc8c3f3c8d1a Mon Sep 17 00:00:00 2001 From: nullifiedcat Date: Mon, 30 Jul 2018 11:17:46 +0300 Subject: [PATCH] autoheal menu --- data/menu/nullifiedcat/autoheal.xml | 51 +++++++++++++++++++++++++++++ src/hacks/AutoHeal.cpp | 4 +-- 2 files changed, 53 insertions(+), 2 deletions(-) diff --git a/data/menu/nullifiedcat/autoheal.xml b/data/menu/nullifiedcat/autoheal.xml index 39d28fca..bc055fc4 100644 --- a/data/menu/nullifiedcat/autoheal.xml +++ b/data/menu/nullifiedcat/autoheal.xml @@ -6,4 +6,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/hacks/AutoHeal.cpp b/src/hacks/AutoHeal.cpp index fd94ecf1..70d50a79 100644 --- a/src/hacks/AutoHeal.cpp +++ b/src/hacks/AutoHeal.cpp @@ -18,8 +18,8 @@ static settings::Bool share_uber{ "autoheal.uber.share", "true" }; static settings::Bool auto_vacc{ "autoheal.vacc.enable", "false" }; -static settings::Bool auto_vacc_bullets{ "autoheal.vacc.bullets.enable", "true" }; -static settings::Int vacc_sniper{ "autoheal.vacc.bullets.sniper-pop", "true" }; +static settings::Bool auto_vacc_bullets{ "autoheal.vacc.bullet.enable", "true" }; +static settings::Int vacc_sniper{ "autoheal.vacc.bullet.sniper-pop", "true" }; static settings::Bool auto_vacc_fire_checking{ "autoheal.vacc.fire.enable", "true" }; static settings::Int auto_vacc_pop_if_pyro{ "autoheal.vacc.fire.pyro-pop", "1" };