Skip to content

Commit

Permalink
maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
adya authored and github-actions[bot] committed Dec 14, 2024
1 parent f116194 commit 23cfd6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SPID/src/OutfitManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ namespace Outfits
const auto& actor = it.first;
const auto& replacement = it.second;
if (auto newIt = newReplacements.find(actor->formID); newIt != newReplacements.end()) { // If we have some new replacement for this actor
newIt->second.original = replacement.original; // we want to forward original outfit from the previous replacement to the new one. (so that a chain of outfits like this A->B->C becomes A->C and we'll be able to revert to the very first outfit)
newIt->second.original = replacement.original; // we want to forward original outfit from the previous replacement to the new one. (so that a chain of outfits like this A->B->C becomes A->C and we'll be able to revert to the very first outfit)
++updatedCount;
#ifndef NDEBUG
logger::info("\tUpdating Outfit Replacement for {}", *actor);
Expand Down
6 changes: 3 additions & 3 deletions SPID/src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include "DeathDistribution.h"
#include "DistributeManager.h"
#include "LookupConfigs.h"
#include "LookupForms.h"
#include "PCLevelMultManager.h"
#include "OutfitManager.h"
#include "DeathDistribution.h"
#include "PCLevelMultManager.h"

bool shouldLookupForms{ false };
bool shouldLogErrors{ false };
Expand Down Expand Up @@ -44,7 +44,7 @@ void MessageHandler(SKSE::MessagingInterface::Message* a_message)
Distribute::Setup();
}

Outfits::Manager::Register(); // Regardless of distribution, we register outfits manager to handle save/load events. It should revert all previously distributed outfits even if no _DISTR files are present.
Outfits::Manager::Register(); // Regardless of distribution, we register outfits manager to handle save/load events. It should revert all previously distributed outfits even if no _DISTR files are present.

if (shouldLogErrors) {
const auto error = std::format("[SPID] Errors found when reading configs. Check {}.log in {} for more info\n", Version::PROJECT, SKSE::log::log_directory()->string());
Expand Down

0 comments on commit 23cfd6e

Please sign in to comment.