From 9dfa5463a83d5219b4947a36500ae097101b6912 Mon Sep 17 00:00:00 2001 From: Mike Turvey Date: Wed, 20 Dec 2017 20:00:55 -0700 Subject: Load LH Config Data --- src/survive.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/survive.c') 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; -- cgit v1.2.3