-fixed getSystem function

This commit is contained in:
Mergul 2018-09-29 20:34:47 +02:00
parent 41a7f22cb3
commit 783ef72eae
2 changed files with 6 additions and 1 deletions

View file

@ -368,7 +368,7 @@ class EntityManager
Sys* getSystem(Sys)()
{
return cast(Sys*) systems[Sys.system_id].system_pointer;
return cast(Sys*) systems[Sys.system_id].m_system_pointer;
}
void registerComponent(Comp)()