Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the printing of active mods for blueprint loading #6426

Merged
merged 3 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/snippets/fix.6426.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- (#6426) Fix the "Active game mods for blueprint loading" log message.
5 changes: 4 additions & 1 deletion lua/RuleInit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ doscript '/lua/system/utils.lua'
doscript '/lua/system/repr.lua'
doscript '/lua/system/debug.lua'

LOG('Active game mods for blueprint loading: ',repr(__active_mods))
LOG('Active game mods for blueprint loading:')
for _, mod in __active_mods do
LOG(string.format('\t"%-30s v%02d (%-37s by %s', tostring(mod.name) .. '"', tostring(mod.version), tostring(mod.uid) .. ')', tostring(mod.author)))
end

doscript '/lua/footprints.lua'
doscript '/lua/system/Blueprints.lua'
Expand Down
Loading