Skip to content

Commit

Permalink
Fix the printing of active mods for blueprint loading
Browse files Browse the repository at this point in the history
  • Loading branch information
lL1l1 committed Sep 2, 2024
1 parent b390029 commit 36d7377
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/RuleInit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ doscript '/lua/system/repr.lua'
doscript '/lua/system/debug.lua'
doscript '/lua/system/utils.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

0 comments on commit 36d7377

Please sign in to comment.