summaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/main.rs')
-rw-r--r--server/src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/main.rs b/server/src/main.rs
index 7f3ba84..ef60551 100644
--- a/server/src/main.rs
+++ b/server/src/main.rs
@@ -159,6 +159,8 @@ async fn get_table_view(
info!("Advancing play");
while table.game_in_progress()
&& table.game()?.current_player() != player_position
+ // TODO: Support other player configurations.
+ && table.game()?.current_player() != player_position.many_next(2)
{
advance_play(&mut table).await?;
}