【cfg】修复cfg 检查ref的key类型为ENum类型,不正确使用别名进行比较,产生错误警告ref不存在的bug

main
walon 2021-05-24 20:18:13 +08:00
parent 17f7fc5b1b
commit b123a61081
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ namespace Luban.Job.Cfg.Datas
public override bool Equals(object obj)
{
return obj is DEnum o && o.StrValue == this.StrValue;
return obj is DEnum o && o.Value == this.Value;
}
public override int GetHashCode()