From fcbb72f0b3dd8ade8daf3123465e6b9a743bf084 Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Sat, 2 Jul 2022 05:23:44 +0700 Subject: [PATCH] Add config record for health component --- config/AcediaSystem.ini | 3 +++ sources/Gameplay/KF1Frontend/Health/KF1_HealthComponent.uc | 1 + 2 files changed, 4 insertions(+) diff --git a/config/AcediaSystem.ini b/config/AcediaSystem.ini index ffc354d..1fe229e 100644 --- a/config/AcediaSystem.ini +++ b/config/AcediaSystem.ini @@ -17,6 +17,9 @@ ; at `2`. usedInjectionLevel=BHIJ_Root +[AcediaCore.KF1_HealthComponent] +replaceBloatAndSirenDamageTypes=true + [AcediaCore.UserAPI] userDataDBLink="local:database/users" diff --git a/sources/Gameplay/KF1Frontend/Health/KF1_HealthComponent.uc b/sources/Gameplay/KF1Frontend/Health/KF1_HealthComponent.uc index 4b3ffa6..0a0d4a9 100644 --- a/sources/Gameplay/KF1Frontend/Health/KF1_HealthComponent.uc +++ b/sources/Gameplay/KF1Frontend/Health/KF1_HealthComponent.uc @@ -21,6 +21,7 @@ class KF1_HealthComponent extends AHealthComponent dependson(ConnectionService) config(AcediaSystem); +// TODO: document here and in config var private const config bool replaceBloatAndSirenDamageTypes; var private LoggerAPI.Definition infoReplacingDamageTypes, errNoServerLevelCore;