private void OnMapRemoved(EntityUid uid, MapComponent component, ComponentShutdown args) { var msg = new MapChangedEvent(component.WorldMap, false); EntityManager.EventBus.RaiseLocalEvent(uid, msg); }
private void OnMapAdded(EntityUid uid, MapComponent component, ComponentInit args) { var msg = new MapChangedEvent(component.WorldMap, true); EntityManager.EventBus.RaiseLocalEvent(uid, msg); }