Skip to content

Commit

Permalink
Update action.py fix set_ai_task obj name
Browse files Browse the repository at this point in the history
  • Loading branch information
gregretkowski authored and DanAlbert committed Dec 19, 2023
1 parent b767ce3 commit 78296f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcs/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,7 @@ def __init__(self, groupid, task_index):
def create_from_dict(cls, d, mission):
# Not sure if this used to be 0/1 in older missions, if
# so this needs a conditional.
return cls(d["set_ai_task"][1], d["ai_task"][2])
return cls(d["set_ai_task"][1], d["set_ai_task"][2])

def dict(self):
d = super(AITaskSet, self).dict()
Expand Down

0 comments on commit 78296f3

Please sign in to comment.