Skip to content

Commit f46e1d4

Browse files
fix: allow new player to join only
1 parent d8ea14d commit f46e1d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

game/src/app/game/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export default function Game(props: GameProps) {
181181
return "You";
182182
}
183183
if (player === ZeroAddress) {
184-
if (authenticated) {
184+
if (authenticated && isGuest) {
185185
return (
186186
<Button
187187
className="h-[22px]"

0 commit comments

Comments
 (0)