Skip to content

Commit 59f36b2

Browse files
committed
Mod Load Log.txt ++
Log both the beginning and the end of the loading process of a mod's files
1 parent e832794 commit 59f36b2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

repentogon/Patches/XMLData.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ ModEntry* GetModEntryByContentPath(const string &path) {
355355
return NULL;
356356
}
357357

358+
358359
void UpdateXMLModEntryData() {
359360
std:string enabledmodslist = "-- Enabled Mods START -- \n";
360361
for (ModEntry* entry : g_Manager->GetModManager()->_mods) {
@@ -2541,6 +2542,9 @@ void ProcessXmlNode(xml_node<char>* node,bool force = false) {
25412542
XMLStuff.ModData->bydirectory[mod["directory"]] = idx;
25422543
XMLStuff.ModData->byname[mod["name"]] = idx;
25432544
XMLStuff.ModData->byorder[XMLStuff.ModData->nodes.size()] = id;
2545+
2546+
string loadingmodmsg = "Loading: " + mod["name"] + "(" + mod["directory"] + ") \n";
2547+
KAGE::LogMessage(0, loadingmodmsg.c_str());
25442548
}
25452549
break;
25462550
case 26: //fxlayers

0 commit comments

Comments
 (0)