Skip to content

Commit

Permalink
fix: Missing log info on config
Browse files Browse the repository at this point in the history
  • Loading branch information
SaneEngineer committed Jul 18, 2024
1 parent b79bbde commit 4473c9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/Hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ namespace GrassControl

Config::ExtendGrassDistance = false;
Config::DynDOLODGrassMode = 0;
} else if (Config::UseGrassCache) {
logger::info("Grass Cache is Enabled. PrecacheGrass.txt is not detected, assuming normal usage.");
} else {
logger::info("Grass Cache is Disabled");
}

switch (Config::DynDOLODGrassMode) {
Expand Down
2 changes: 1 addition & 1 deletion src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ extern "C" DLLEXPORT bool SKSEAPI SKSEPlugin_Load(const SKSE::LoadInterface* a_s

SKSE::Init(a_skse);

GrassControl::Config::ReadSettings();
InitializeLog();
GrassControl::Config::ReadSettings();

logger::info("Game version : {}", a_skse->RuntimeVersion().string());

Expand Down

0 comments on commit 4473c9a

Please sign in to comment.