diff options
author | Mike Turvey <mturvey6@gmail.com> | 2017-12-20 20:00:55 -0700 |
---|---|---|
committer | Mike Turvey <mturvey6@gmail.com> | 2017-12-20 20:00:55 -0700 |
commit | 9dfa5463a83d5219b4947a36500ae097101b6912 (patch) | |
tree | f77c25389458aa856b3acaf1f321779c6d493179 /src/survive.c | |
parent | a9739c252fab9b32684148625b08b2cfb89a3751 (diff) | |
download | libsurvive-9dfa5463a83d5219b4947a36500ae097101b6912.tar.gz libsurvive-9dfa5463a83d5219b4947a36500ae097101b6912.tar.bz2 |
Load LH Config Data
Diffstat (limited to 'src/survive.c')
-rwxr-xr-x | src/survive.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/survive.c b/src/survive.c index 0c88137..057462f 100755 --- a/src/survive.c +++ b/src/survive.c @@ -76,6 +76,8 @@ SurviveContext * survive_init( int headless ) config_read(ctx, "config.json"); ctx->activeLighthouses = config_read_uint32(ctx->global_config_values, "LighthouseCount", 2); + config_read_lighthouse(ctx->lh_config, &(ctx->bsd[0]), 0); + config_read_lighthouse(ctx->lh_config, &(ctx->bsd[1]), 1); ctx->faultfunction = survivefault; ctx->notefunction = survivenote; |