Skip to content

Commit

Permalink
fix: fix a minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AmooHashem committed Oct 24, 2024
1 parent 88b6656 commit 1e2a2c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/fsm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def transit_player_in_fsm(player: Player, source_state: State, target_state: Sta


def is_transition_permitted(source_state: State, target_state: State):
if source_state.id == target_state.id:
return True
# if source_state.id == target_state.id:
# return True
# todo
return True

Expand Down

0 comments on commit 1e2a2c1

Please sign in to comment.