From: melchior Date: Fri, 27 Nov 2020 22:23:34 +0000 (-0500) Subject: Events should attched after config data is loaded... X-Git-Tag: V0.1.6~16 X-Git-Url: http://git.osdn.net/view?p=automap%2Fautomap.git;a=commitdiff_plain;h=e751755c9002158215c5dac72a804a94ebe6faf2 Events should attched after config data is loaded... --- diff --git a/Automap/Subsystems/AutomapSystem.cs b/Automap/Subsystems/AutomapSystem.cs index 1345f93..04db4c2 100644 --- a/Automap/Subsystems/AutomapSystem.cs +++ b/Automap/Subsystems/AutomapSystem.cs @@ -70,8 +70,9 @@ namespace Automap this.ClientAPI = clientAPI; this.Logger = logger; chunkSize = ClientAPI.World.BlockAccessor.ChunkSize; - ClientAPI.Event.LevelFinalize += EngageAutomap; + configuration = config; + ClientAPI.Event.LevelFinalize += EngageAutomap; this.ChunkRenderer = InstantiateChosenRenderer(config.RendererName);