diff --git a/Editor/GuruJsonBuilder/GuruServiceJsonBuilder.cs b/Editor/GuruJsonBuilder/GuruServiceJsonBuilder.cs index aec3de3..fbfe5b9 100644 --- a/Editor/GuruJsonBuilder/GuruServiceJsonBuilder.cs +++ b/Editor/GuruJsonBuilder/GuruServiceJsonBuilder.cs @@ -1,5 +1,4 @@ - - +#if GURU_SDK_DEV namespace Guru.Editor { @@ -618,10 +617,10 @@ namespace Guru.Editor line = lines[i]; if(string.IsNullOrEmpty(line)) continue; raw = lines[i].Split(','); - key = ""; value = ""; key = raw[0]; - if(raw.Length > 0) value = raw[1]; + if(string.IsNullOrEmpty(key)) continue; + if(raw.Length > 1) value = raw[1]; dict[key] = value; i++; } @@ -823,8 +822,6 @@ namespace Guru.Editor #endregion - - #region TEST #if GURU_SDK_DEV @@ -860,6 +857,7 @@ namespace Guru.Editor } #endregion - } -} \ No newline at end of file +} + +#endif \ No newline at end of file