You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<ScoreboardUserBoxv-for="(player) in game?.players":key="player.id":user="player":scoreboard="{score: statsMap![player.id].score, change: 0}"/>
93
-
</div>
91
+
<divclass="flex justify-between ">
92
+
<!-- Stupid fix but it works. We didnt implement a win screen for more than 2 players but didnt want to ditch our approach to theoretically handling larger games. -->
93
+
94
+
<ScoreboardUserBoxv-for="(player) in game?.players.filter((p)=>p.id === user?.id)":key="player.id":user="player":scoreboard="{score: statsMap![player.id].score, change: 0}"/>
95
+
<ScoreboardUserBoxv-for="(player) in game?.players.filter((p)=>p.id !== user?.id)":key="player.id":user="player":scoreboard="{score: statsMap![player.id].score, change: 0}"/>
0 commit comments