Skip to content

Commit

Permalink
refactor(issue-98): Rename action_id to action
Browse files Browse the repository at this point in the history
  • Loading branch information
CinquilCinquil committed Aug 2, 2024
1 parent 3b6d129 commit 9332238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions urnai/sc2/actions/sc2_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ class SC2Action:

"""This class encapsulates the usage of actions from pysc2"""

def run(action_id, *args) -> FunctionCall:
return action_id(*args)
def run(action, *args) -> FunctionCall:
return action(*args)

0 comments on commit 9332238

Please sign in to comment.