Skip to content

Commit

Permalink
Added .inst.
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanSweet committed Aug 21, 2013
1 parent 4b7a963 commit 727899c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public Attachment NewAttachment (Skin skin, AttachmentType type, String name) {
if (index != -1)
name = name.Substring(index + 1);

tk2dSpriteDefinition def = sprites.GetSpriteDefinition(name);
tk2dSpriteDefinition def = sprites.inst.GetSpriteDefinition(name);

if (def == null)
throw new Exception("Sprite not found in atlas: " + name + " (" + type + ")");
Expand Down

0 comments on commit 727899c

Please sign in to comment.