hxb
2020-12-17 5eeafe3af80bfd88306bd8ad9e76c8f4b51ca35f
HDL_ON/Entity/Function/Curtain.cs
@@ -40,9 +40,11 @@
                                value = new List<string> { "up", "down" },
                                max = 100,
                                min = 0,
                                curValue = 0
                            };
                        }
                        trait_percent.curValue = trait_percent.min;
                        if (trait_percent.curValue.ToString() == "{}")
                            trait_percent.curValue = 0;
                    }
                    return Convert.ToInt32( trait_percent.curValue);
                }