From beb121d1e58095edcd6cc7ac7584474f9ab38f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Sun, 2 Jun 2019 15:56:24 +0200 Subject: [PATCH] Fix start frame not being taken into account --- Assets/scripts/SEGMent/LoadJson.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/scripts/SEGMent/LoadJson.cs b/Assets/scripts/SEGMent/LoadJson.cs index c61c9b1..f3d882e 100644 --- a/Assets/scripts/SEGMent/LoadJson.cs +++ b/Assets/scripts/SEGMent/LoadJson.cs @@ -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++) {