Skip to content

Commit

Permalink
Log mod names and versions while initializing
Browse files Browse the repository at this point in the history
  • Loading branch information
yeshjho authored and budak7273 committed Jan 31, 2025
1 parent 6b7642e commit ddde782
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Mods/SML/Source/SML/Private/ModLoading/ModLoadingLibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ void UModLoadingLibrary::Initialize(FSubsystemCollectionBase& Collection) {
//Initialize metadata and check dependencies for plugins that have already been loaded
ReloadPluginMetadata();
VerifyPluginDependencies();

UE_LOG(LogSatisfactoryModLoader, Display, TEXT("List of loaded mods:"));
for (const FModInfo& ModInfo : GetLoadedMods()) {
UE_LOG(LogSatisfactoryModLoader, Display, TEXT("%s: %s"), *ModInfo.Name, *ModInfo.Version.ToString());
}
}

FSMLPluginDescriptorMetadata UModLoadingLibrary::FindMetadataOrFallback(IPlugin& Plugin) {
Expand Down

0 comments on commit ddde782

Please sign in to comment.