Skip to content

Commit

Permalink
Remove duplicated handler
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinesco committed Mar 11, 2024
1 parent d39b231 commit a7b45f6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions apps/arena/lib/arena/game_updater.ex
Original file line number Diff line number Diff line change
Expand Up @@ -438,15 +438,6 @@ defmodule Arena.GameUpdater do
end
end

def handle_info({:remove_damage_immunity, player_id}, state) do
player =
Map.get(state.game_state.players, player_id)
|> Player.remove_damage_immunity()

state = put_in(state, [:game_state, :players, player_id], player)
{:noreply, state}
end

##########################
# End callbacks
##########################
Expand Down

0 comments on commit a7b45f6

Please sign in to comment.