Skip to content

Commit

Permalink
also consider copyNameAlways when using non exportGun import
Browse files Browse the repository at this point in the history
  • Loading branch information
cadon committed May 5, 2024
1 parent 2885f15 commit dcbdef3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ARKBreedingStats/Form1.extractor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ private void CopyExtractionToClipboard()
/// </summary>
private bool GenerateCreatureNameAndCopyNameToClipboardIfSet(Creature alreadyExistingCreature)
{
var nameWasApplied = false;
if (Properties.Settings.Default.applyNamePatternOnAutoImportAlways
|| (Properties.Settings.Default.applyNamePatternOnImportIfEmptyName
&& string.IsNullOrEmpty(creatureInfoInputExtractor.CreatureName))
Expand All @@ -988,10 +989,9 @@ private bool GenerateCreatureNameAndCopyNameToClipboardIfSet(Creature alreadyExi
)
{
CreatureInfoInput_CreatureDataRequested(creatureInfoInputExtractor, false, false, false, 0, alreadyExistingCreature);
return CopyCreatureNameToClipboardOnImportIfSetting(creatureInfoInputExtractor.CreatureName, true);
nameWasApplied = true;
}

return false;
return CopyCreatureNameToClipboardOnImportIfSetting(creatureInfoInputExtractor.CreatureName, nameWasApplied);
}

/// <summary>
Expand Down

0 comments on commit dcbdef3

Please sign in to comment.