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>();