JLChen
2020-12-15 05102dc658048ebab57e6b41c9c18ca7e9c5e527
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);
                }