Skip to content

Commit

Permalink
🔥 Remove hardcoded map ids
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNotAVirus committed Aug 19, 2024
1 parent a1e5b27 commit f16f852
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/game_service/lib/game_service/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ defmodule GameService.Application do

Logger.info("Starting maps...")

# Enum.map(GameConfig.static_map_info_ids(), fn map_id ->
static_pids =
Enum.map([1, 2], fn map_id ->
Enum.map(GameConfig.static_map_info_ids(), fn map_id ->
{:ok, pid} =
DynamicSupervisor.start_child(
static_map_supervisor(),
Expand Down

0 comments on commit f16f852

Please sign in to comment.