-now event handler system does not have to has EventInput structure

This commit is contained in:
Mergul 2019-08-13 11:58:01 +00:00
parent beab56033c
commit ebec25633e

View file

@ -300,7 +300,7 @@ export class EntityManager
static assert(0, "System should gave \"EntitiesData\" struct for input components");
}
static if (hasMember!(Sys, "EventInput"))
static if (hasMember!(Sys, "handleEvent"))
{
static void callEventHandler(Type)(ref EventCallData data)
{