Skip to content

Commit 22fe97c

Browse files
committed
#41 Fix
1 parent 9109a8f commit 22fe97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/pages/Game.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const GamePage: Component = () => {
6464
if (isMultiplayer() && store.user.id === store.room.player2_id) return
6565

6666
// Show GUI
67-
if (!store.room.game_id) {
67+
if (!isMultiplayer() || !store.room.game_id) {
6868
let gm = gameManager()
6969
gm?.showGUI()
7070
}

0 commit comments

Comments
 (0)