Fix CA2263
This commit is contained in:
committed by
Pavel Penev
parent
332ab244a7
commit
e2296ad2d1
@@ -154,7 +154,7 @@ namespace OpenRA
|
||||
|
||||
public virtual void Initialize(MiniYaml yaml)
|
||||
{
|
||||
Initialize((T)FieldLoader.GetValue(nameof(value), typeof(T), yaml.Value));
|
||||
Initialize(FieldLoader.GetValue<T>(nameof(value), yaml.Value));
|
||||
}
|
||||
|
||||
public virtual void Initialize(T value)
|
||||
|
||||
Reference in New Issue
Block a user