Skip to content

Commit

Permalink
maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 authored and github-actions[bot] committed Oct 23, 2024
1 parent ac42b55 commit 595ffce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tweaks/FactionStealing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace Tweaks::FactionStealing

if (const auto faction = a_owner->As<RE::TESFaction>()) {
static Map<RE::TESFaction*, std::vector<RE::TESNPC*>> factionNPCMap{};
if (factionNPCMap.empty()) {
if (factionNPCMap.empty()) {
for (auto& npc : RE::TESDataHandler::GetSingleton()->GetFormArray<RE::TESNPC>()) {
if (npc && !npc->IsDeleted()) {
for (auto& factionRank : npc->factions) {
Expand Down

0 comments on commit 595ffce

Please sign in to comment.