Skip to content

Commit

Permalink
fix: cambio de turno lanzallamas
Browse files Browse the repository at this point in the history
  • Loading branch information
ezeluduena committed Nov 11, 2023
1 parent 6d08247 commit 930f16c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/routers/games/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,6 @@ def play_action_card(game_name: str, play_info: PlayInformation):
objective_player: Player = find_player_by_id(
play_info.objective_player_id)

if game.turn != 0 and objective_player.position < player.position:
game.turn = game.turn - 1

create_intention_in_game(
game, ActionType.FLAMETHROWER, player, objective_player)

Expand Down

0 comments on commit 930f16c

Please sign in to comment.