Skip to content

Commit

Permalink
Use config name instead of id name
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinesco committed Jul 5, 2024
1 parent a13df1f commit 4451c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/arena/lib/arena/entities.ex
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ defmodule Arena.Entities do
id: id,
category: :obstacle,
shape: get_shape(shape),
name: "Obstacle" <> Integer.to_string(id),
name: params.name,
position: position,
radius: radius,
vertices: vertices,
Expand Down

0 comments on commit 4451c60

Please sign in to comment.