JLChen
2020-11-24 4c17caa61bc3b0a05a2b303bccdfedfbf3853f6d
HDL_ON/Entity/Function/Light.cs
@@ -105,7 +105,9 @@
                        function.Add(trait_fadeTime);
                    }
                }
                return Convert.ToInt32(trait_fadeTime.value);
                int result = 0;
                int.TryParse(trait_fadeTime.value.ToString(), out result);
                return result;
            }
            set
            {
@@ -158,7 +160,7 @@
                            name = "color",
                            value_key = new List<string> { "FFFFFF" },
                            max = 0xFFFFFF,
                            min = 0x000000,
                            min = 0x00000F,
                        };
                    }
                    trait_color.value = trait_color.min;