mirror of
https://github.com/DCFApixels/DragonECS-AutoInjections.git
synced 2025-09-18 05:04:35 +08:00
fix
This commit is contained in:
parent
7ca0ac5e89
commit
9dd3a971eb
@ -59,7 +59,7 @@ namespace DCFApixels.DragonECS
|
|||||||
}
|
}
|
||||||
public void Inject(Type fieldType, object obj)
|
public void Inject(Type fieldType, object obj)
|
||||||
{
|
{
|
||||||
_notInjected.Remove(obj.GetType());
|
_notInjected.Remove(fieldType);
|
||||||
Type baseType = fieldType.BaseType;
|
Type baseType = fieldType.BaseType;
|
||||||
if (baseType != null)
|
if (baseType != null)
|
||||||
Inject(baseType, obj);
|
Inject(baseType, obj);
|
||||||
|
Loading…
Reference in New Issue
Block a user