tModLoader
tModLoader copied to clipboard
Initial workshop release version omitted from changelog message
Version
Latest 1.4-stable
OS
Windows
Platform
Steam
This bug affects
Mod capability as a Modder
Description
buildData["trueversion"] = buildData["version"]; only runs if the mod exists on the workshop.
This causes
patchNotes = $"Version {_entryData.BuildData["trueversion"]} has been published to {BuildInfo.Purpose} learn more @ {_entryData.BuildData["homepage"]}\n{_entryData.ChangeNotes}";
to be wrong. I think just setting buildData["trueversion"] if the mod doesn't exist should fix this, or check it before assigning to patchNotes, whichever makes more sense.

Log File
No response
Steps to reproduce
No response
Expected Behavior
No response
Actual Behavior
No response
Reproduction frequency
No response
Additional Information
No response