Skip to content

Commit

Permalink
Fix credo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Sanchez committed Nov 1, 2024
1 parent a9038a0 commit 7b31b62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/arena/lib/arena/game/effect.ex
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,10 @@ defmodule Arena.Game.Effect do
Map.merge(game_state.projectiles, game_state.pools)
|> Map.get(owner_id)

if not is_nil(damage_entity) do
damage_entity.aditional_info.owner_id
else
if is_nil(damage_entity) do
nil
else
damage_entity.aditional_info.owner_id
end
end

Expand Down

0 comments on commit 7b31b62

Please sign in to comment.