mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-11-15 03:02:17 -05:00
pause ptz turns when no ones on
This commit is contained in:
@@ -121,7 +121,7 @@ function describeParticipation(socket) {
|
||||
color: cameraConfig.color || DEFAULT_PTZ_COLOR,
|
||||
fallback: null,
|
||||
},
|
||||
enabled: entered && (isOperator || position > 0),
|
||||
enabled: entered && (isOperator || position > 0) && participation.state.queue.length > 0,
|
||||
isActive: isOperator,
|
||||
turnsAhead: isOperator ? 0 : position || null,
|
||||
queueLength: participation.state.queue.length + (participation.state.operatorSocketId ? 1 : 0),
|
||||
|
||||
Reference in New Issue
Block a user