remove now unnecessary type lookup
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1c3c6c6b69
commit
9bd793e337
|
@ -33,7 +33,6 @@ namespace Encompass
|
|||
|
||||
private TypedComponentStore<TComponent> Lookup<TComponent>() where TComponent : struct, IComponent
|
||||
{
|
||||
if (!Stores.ContainsKey(typeof(TComponent))) { RegisterComponentType<TComponent>(); }
|
||||
return Stores[typeof(TComponent)] as TypedComponentStore<TComponent>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue