private void OnGridInit(EntityUid uid, MapGridComponent component, ComponentInit args)
        {
            var msg = new GridInitializeEvent(uid, component.GridIndex);

            EntityManager.EventBus.RaiseLocalEvent(uid, msg);
        }
Beispiel #2
0
 private void OnGridInit(GridInitializeEvent ev)
 {
     EntityManager.EnsureComponent <EntityLookupComponent>(ev.EntityUid);
 }