陈嘉乐
2021-03-01 a469a96ee8c38f7d98366dcd633e3a15f92fec65
HDL_ON/Entity/Function/Curtain.cs
@@ -45,6 +45,11 @@
                        }
                        if (trait_percent.curValue.ToString() == "{}")
                            trait_percent.curValue = 0;
                    }
                    string textValue = trait_percent.curValue.ToString();
                    if (textValue == string.Empty)
                    {
                        trait_percent.curValue = 0;
                    }
                    return Convert.ToInt32( trait_percent.curValue);
                }