Esempio n. 1
0
 private void OnGridRemove(EntityUid uid, MapGridComponent component, ComponentShutdown args)
 {
     EntityManager.EventBus.RaiseLocalEvent(uid, new GridRemovalEvent(uid, component.GridIndex));
     MapManager.OnComponentRemoved(component);
 }
Esempio n. 2
0
 private void RemoveHandler(EntityUid uid, MapGridComponent component, ComponentRemove args)
 {
     _mapManager.OnComponentRemoved(component);
 }