Browse Source

Add config record for health component

pull/8/head
Anton Tarasenko 2 years ago
parent
commit
fcbb72f0b3
  1. 3
      config/AcediaSystem.ini
  2. 1
      sources/Gameplay/KF1Frontend/Health/KF1_HealthComponent.uc

3
config/AcediaSystem.ini

@ -17,6 +17,9 @@
; at `2`.
usedInjectionLevel=BHIJ_Root
[AcediaCore.KF1_HealthComponent]
replaceBloatAndSirenDamageTypes=true
[AcediaCore.UserAPI]
userDataDBLink="local:database/users"

1
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;

Loading…
Cancel
Save