1
Fork 0

Fixed detection of KID for AE (has a different internal name)

ae-1.6.629 1.0.6
Eddoursul 2 years ago
parent c01fbe9265
commit ae35ac9fbb
  1. BIN
      SKSE/Plugins/ArtifactTracker.dll
  2. 4
      Source/ArtifactTrackerDLL/src/Main.cpp

Binary file not shown.

@ -31,7 +31,9 @@ namespace {
if (message->type == MessagingInterface::kPostLoad) {
SKSE::GetModCallbackEventSource()->AddEventSink(EventListener::GetSingleton()); // runs, if KID is installed
} else if (message->type == MessagingInterface::kDataLoaded) {
if (const auto pluginInfo = ArtifactTracker::g_loadInterface->GetPluginInfo("po3_KeywordItemDistributor"); !pluginInfo) {
const auto kidSE = ArtifactTracker::g_loadInterface->GetPluginInfo("po3_KeywordItemDistributor");
const auto kidAE = ArtifactTracker::g_loadInterface->GetPluginInfo("Keyword Item Distributor"); // KID 2.0 for AE has a different internal name
if (!kidSE && !kidAE) {
ArtifactTracker::Init(); // if KID is not installed
}
} else if (message->type == MessagingInterface::kPreLoadGame) {

Loading…
Cancel
Save