summaryrefslogtreecommitdiff
path: root/src/profile.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-12-24 23:06:53 -0500
committerGitHub <noreply@github.com>2020-12-24 23:06:53 -0500
commit89bbdf22cde8d16d2d5e72999abf97b38ecd7b11 (patch)
tree3f4c4de743acdbb90e7e9997147f478c0c1f698e /src/profile.cpp
parent06ca11edfb2957d07f9e7bccce1e8a765b1d0209 (diff)
parent9441d49c6d7dff23395460076112b57d4c0e8743 (diff)
Merge pull request #1328 from isanae/stuff
Stuff
Diffstat (limited to 'src/profile.cpp')
-rw-r--r--src/profile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/profile.cpp b/src/profile.cpp
index 92f2abce..3cc1a2a3 100644
--- a/src/profile.cpp
+++ b/src/profile.cpp
@@ -1123,10 +1123,6 @@ void Profile::debugDump() const
for (const auto& status : m_ModStatus) {
- if (status.m_Overwrite) {
- continue;
- }
-
auto index = m_ModIndexByPriority.find(status.m_Priority);
if (index == m_ModIndexByPriority.end()) {
log::error("mod with priority {} not in priority map", status.m_Priority);
@@ -1139,6 +1135,10 @@ void Profile::debugDump() const
continue;
}
+ if (m->hasFlag(ModInfo::FLAG_OVERWRITE)) {
+ continue;
+ }
+
add(total, status);
if (m->hasFlag(ModInfo::FLAG_BACKUP)) {