Skip to content

Commit

Permalink
fix: only allow default log if 1.6.x support is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
qudix committed Sep 7, 2024
1 parent 2839cb7 commit c34f51e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SKSE/API.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ namespace SKSE
}

if (a_log) {
// remove ifdef once 1.5.x support is removed
#ifdef SKYRIM_SUPPORT_AE
log::init();
#endif
}

(void)REL::Module::get();
Expand Down

0 comments on commit c34f51e

Please sign in to comment.