Skip to content

Commit

Permalink
chore: mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
tvillegas98 committed Dec 5, 2024
1 parent e47a181 commit 52566d7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions apps/arena/lib/arena/game_updater.ex
Original file line number Diff line number Diff line change
Expand Up @@ -556,11 +556,12 @@ defmodule Arena.GameUpdater do
|> maybe_add_kill_to_player(killer_id)
|> grant_power_up_to_killer(game_config, killer_id, victim_id)

game_state = if game_config.game.game_mode != :DEATHMATCH do
put_player_position(game_state, victim_id)
else
game_state
end
game_state =
if game_config.game.game_mode != :DEATHMATCH do
put_player_position(game_state, victim_id)
else
game_state
end

broadcast_player_dead(state.game_state.game_id, victim_id)

Expand Down

0 comments on commit 52566d7

Please sign in to comment.