jotunn 2.30 compatibility + minor bugs
This commit is contained in:
parent
6193b3ee2d
commit
ce671e7124
14 changed files with 107 additions and 49 deletions
|
|
@ -239,7 +239,16 @@ namespace RacesOfValheim
|
|||
SpineBoneName = config.Bind(spines, "Bone", SvermConfig.SpineBoneName,
|
||||
"Which bone the spines ride. This bone and no other - there is no fallback, so a " +
|
||||
"name that is not in the rig means no crest at all. Leave it blank to use " +
|
||||
"Spine3.");
|
||||
"Spine2.");
|
||||
|
||||
// Spine3 was the shipped default and is not a bone this rig has, so a .cfg still holding it
|
||||
// has never shown a crest. BepInEx keeps the value in the file over a changed default, so
|
||||
// without this the fix would only ever reach fresh installs. Nobody can have picked Spine3
|
||||
// on purpose and seen it work, which is what makes overwriting it safe.
|
||||
if (string.Equals(SpineBoneName.Value?.Trim(), "Spine3", System.StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
SpineBoneName.Value = SvermConfig.SpineBoneName;
|
||||
}
|
||||
|
||||
// Defaults are the values found in game with the crest on screen, not zeroes: changing
|
||||
// nothing here now reproduces the placement that was actually approved.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue