diff --git a/src/Modules/ModTools.lua b/src/Modules/ModTools.lua index 5f763b3f65..834749797e 100644 --- a/src/Modules/ModTools.lua +++ b/src/Modules/ModTools.lua @@ -207,7 +207,7 @@ function modLib.formatMod(mod) end function modLib.formatSourceMod(mod) - return s_format("%s|%s|%s", mod.value, mod.source, modLib.formatModParams(mod)) + return s_format("%s|%s|%s", modLib.formatValue(mod.value), mod.source, modLib.formatModParams(mod)) end function modLib.setSource(mod, source)