JLChen
2020-12-23 58beee272e47fdbf814e0c8fe625e09c5b844d4d
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);
                }