Check for EnderalSE.ini instead of dll

master
Eddoursul 2 years ago
parent 8130a80e05
commit edd4f9ff5d
  1. BIN
      SKSE/Plugins/EnderalSEEasyCrafting.dll
  2. 2
      src/src/Main.cpp

@ -27,7 +27,7 @@ namespace {
{
GetMessagingInterface()->RegisterListener([](MessagingInterface::Message* message) {
if (message->type == MessagingInterface::kPostPostLoad) {
if (!std::filesystem::exists("Data\\Enderal - Forgotten Stories.esm") || !std::filesystem::exists("Data\\SKSE\\Plugins\\EnderalSE.dll")) {
if (!std::filesystem::exists("Data\\Enderal - Forgotten Stories.esm") || !std::filesystem::exists("Data\\SKSE\\Plugins\\EnderalSE.ini")) {
MessageBoxW(NULL, L"Easy Crafting requires Enderal SE 2.0.12 or newer.", L"Enderal SE Easy Crafting", MB_OK | MB_ICONERROR);
exit(EXIT_FAILURE);
}

Loading…
Cancel
Save