Skip to content

Commit 9486c91

Browse files
committed
Properly restrict prefix changing to prefix conflicted mods instead of all unloaded
1 parent f0a05f7 commit 9486c91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/preflight/loader.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ function loadMods(modsDirectory)
667667
local prefix_counter = 1
668668
for _, mod in pairs(SMODS.Mods) do
669669
mod.can_load = check_dependencies(mod)
670-
if not mod.can_load and mod.load_issues.prefix_conflicts then
670+
if not mod.can_load and next(mod.load_issues.prefix_conflicts or {}) then
671671
mod.prefix = '$pc'..prefix_counter
672672
prefix_counter = prefix_counter + 1
673673
end

version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.0.0~BETA-1531a-STEAMODDED"
1+
return "1.0.0~BETA-1531b-STEAMODDED"

0 commit comments

Comments
 (0)