Skip to content

Commit d9623b6

Browse files
author
dysonreturns
committed
Adds ActionObserverCameraMove.distance to proto, enabling wide zoom-out
1 parent a04340b commit d9623b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sc2/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,9 @@ async def obs_move_camera(self, position: Unit | Units | Point2 | Point3, distan
444444
await self._execute(
445445
obs_action=sc_pb.RequestObserverAction(
446446
actions=[
447-
sc_pb.ObserverAction(camera_move=sc_pb.ActionObserverCameraMove(world_pos=position.as_Point2D, distance=distance))
447+
sc_pb.ObserverAction(
448+
camera_move=sc_pb.ActionObserverCameraMove(world_pos=position.as_Point2D, distance=distance)
449+
)
448450
]
449451
)
450452
)

0 commit comments

Comments
 (0)