diff --git a/SpriteLibrary/SpriteDatabase.cs b/SpriteLibrary/SpriteDatabase.cs index 29c0da4..455e686 100644 --- a/SpriteLibrary/SpriteDatabase.cs +++ b/SpriteLibrary/SpriteDatabase.cs @@ -259,8 +259,8 @@ namespace SpriteLibrary /// internal Sprite SmartDuplicateSprite(SpriteController theController, string SpriteName, bool UseSmartImages = true) { - Sprite DestSprite = theController.DuplicateSprite(SpriteName); - if (DestSprite != null) return DestSprite; + Sprite DestSprite = theController.SpriteFromNameInternal(SpriteName); + if (DestSprite != null) return new Sprite(DestSprite); //If it does not exist, make it foreach (SpriteInfo SI in SpriteInfoList)