Skip to content

Commit

Permalink
Fix range to spawn bots (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinesco authored Apr 4, 2024
1 parent 4e2e543 commit f9349d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/arena/lib/arena/game_launcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ defmodule Arena.GameLauncher do
end

defp get_bot_clients(missing_clients) do
Enum.map(0..missing_clients, fn i ->
Enum.map(1..missing_clients//1, fn i ->
client_id = UUID.generate()

{client_id, "h4ck", Enum.at(@bot_names, i), nil}
Expand Down

0 comments on commit f9349d4

Please sign in to comment.