From d8d39f713dad20f3284e55cf48e2de35fdf7c960 Mon Sep 17 00:00:00 2001 From: Kieran Kihn <114803508+kierankihn@users.noreply.github.com> Date: Wed, 10 Dec 2025 22:31:28 +0800 Subject: [PATCH] fix(ui): correct player rotation logic in `GameUI` --- src/ui/GameUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/GameUI.cpp b/src/ui/GameUI.cpp index 4671225..920e09a 100644 --- a/src/ui/GameUI.cpp +++ b/src/ui/GameUI.cpp @@ -80,7 +80,7 @@ namespace UNO::UI { } auto self = other_player.begin() + static_cast(clientGameState->getSelfId()); - std::ranges::rotate(other_player, self); + std::ranges::rotate(other_player, std::next(self)); other_player.pop_back(); auto other_player_slint = std::make_shared>();