Skip to content

Commit

Permalink
Fix dumb.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ottermandias committed Jan 11, 2024
1 parent bc69e6d commit d45e473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Glamourer/Designs/DesignBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ bool TryGetToken(CustomizeParameterFlag flag, [NotNullWhen(true)] out JToken? to
void MigrateLipOpacity()
{
var token = parameters!["LipOpacity"]?["Percentage"]?.ToObject<float>();
var actualToken = parameters![CustomizeParameterFlag.LipDiffuse]?["Alpha"];
var actualToken = parameters![CustomizeParameterFlag.LipDiffuse.ToString()]?["Alpha"];
if (token != null && actualToken == null)
design.GetDesignDataRef().Parameters.LipDiffuse.W = token.Value;
}
Expand Down

0 comments on commit d45e473

Please sign in to comment.