Skip to content

Commit

Permalink
correct LoadSprite function
Browse files Browse the repository at this point in the history
  • Loading branch information
SFGrenade committed Jun 26, 2024
1 parent 47feb03 commit 8249358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion articles/charms.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public class CustomCharm1 : EasyCharm

protected override string GetName() => "Charm1 Name";

protected override Sprite GetSpriteInternal()=> AssemblyUtils.GetSpriteFromResources("Charm1.png");
protected override Sprite GetSpriteInternal() => LoadSprite("Charm1");
}
```

Expand Down

0 comments on commit 8249358

Please sign in to comment.