Skip to content

Commit

Permalink
Fix start frame not being taken into account
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jun 2, 2019
1 parent e8e8f0c commit beb121d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/scripts/SEGMent/LoadJson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ public void Load(string json, Player player)
rooms.SetItemSoundName(item.id, SanitizeSound(item.Sound.Path));
// if (item.Description.length > 0)
// todo rooms.SetItemDescription(item.id, "");
rooms.SetItemStartFrame(item.id, item.Default);

for (int i = 0; i < item.Frames.Length; i++)
{
Expand Down

0 comments on commit beb121d

Please sign in to comment.