Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sc2/game_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ def actions(self) -> list[ActionRawUnitCommand | ActionRawToggleAutocast | Actio
# Actions that have a point as target
actions.append(
ActionRawUnitCommand(
game_loop,
raw_unit_command.ability_id,
game_loop,
list(raw_unit_command.unit_tags),
raw_unit_command.queue_command,
Point2.from_proto(raw_unit_command.target_world_space_pos),
Expand All @@ -291,8 +291,8 @@ def actions(self) -> list[ActionRawUnitCommand | ActionRawToggleAutocast | Actio
# Actions that have a unit as target
actions.append(
ActionRawUnitCommand(
game_loop,
raw_unit_command.ability_id,
game_loop,
list(raw_unit_command.unit_tags),
raw_unit_command.queue_command,
None,
Expand All @@ -304,8 +304,8 @@ def actions(self) -> list[ActionRawUnitCommand | ActionRawToggleAutocast | Actio
raw_toggle_autocast_action = action_raw.toggle_autocast
actions.append(
ActionRawToggleAutocast(
game_loop,
raw_toggle_autocast_action.ability_id,
game_loop,
list(raw_toggle_autocast_action.unit_tags),
)
)
Expand Down
Loading