Skip to content

Commit

Permalink
Check if a copyright link already exists when pasting states between …
Browse files Browse the repository at this point in the history
…RSIs
  • Loading branch information
DrSmugleaf committed Jan 7, 2024
1 parent 7af6cb0 commit 318f9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ public async Task PasteStates()
{
CurrentOpenRsi.Copyright = _copiedCopyright;
}
else
else if (!CurrentOpenRsi.Copyright.Contains(_copiedCopyright))
{
var copyright = _copiedCopyright;
if (copyright.StartsWith("Taken from "))
Expand Down

0 comments on commit 318f9eb

Please sign in to comment.