diff --git a/Shared/GUI/KKABMX_AdvancedGUI.cs b/Shared/GUI/KKABMX_AdvancedGUI.cs index edd93c3..95eab8c 100644 --- a/Shared/GUI/KKABMX_AdvancedGUI.cs +++ b/Shared/GUI/KKABMX_AdvancedGUI.cs @@ -260,7 +260,7 @@ private static string GetCharacterName(BoneController controller) var objName = controller.name; var charaName = controller.ChaControl.fileParam.fullname; TranslationHelper.TryTranslate(charaName, out var charaNameTl); - return string.IsNullOrEmpty(charaNameTl) ? charaName.Trim() : $"{objName} ({charaNameTl.Trim()})"; + return $"{objName} ({(string.IsNullOrEmpty(charaNameTl) ? charaName.Trim() : charaNameTl.Trim())})"; } /// @@ -879,7 +879,7 @@ void PasteIntoModifier(BoneModifier targetModifier) } } PasteIntoModifier(mod); - if(otherMod != null) PasteIntoModifier(otherMod); + if (otherMod != null) PasteIntoModifier(otherMod); KKABMX_Core.Logger.LogMessage("Imported modifiers from clipboard!"); } }