diff --git a/lib/wanderer_app/map/map_zkb_data_fetcher.ex b/lib/wanderer_app/map/map_zkb_data_fetcher.ex index e83697fc..7f0761d8 100644 --- a/lib/wanderer_app/map/map_zkb_data_fetcher.ex +++ b/lib/wanderer_app/map/map_zkb_data_fetcher.ex @@ -35,16 +35,14 @@ defmodule WandererApp.Map.ZkbDataFetcher do |> Task.async_stream( fn map_id -> try do - if WandererApp.Map.Server.map_pid(map_id) do - # Always update kill counts - update_map_kills(map_id) + # Always update kill counts + update_map_kills(map_id) - # Update detailed kills for maps with active subscriptions - {:ok, is_subscription_active} = map_id |> WandererApp.Map.is_subscription_active?() + # Update detailed kills for maps with active subscriptions + {:ok, is_subscription_active} = map_id |> WandererApp.Map.is_subscription_active?() - if is_subscription_active do - update_detailed_map_kills(map_id) - end + if is_subscription_active do + update_detailed_map_kills(map_id) end rescue e ->