Spaces:
Sleeping
Sleeping
logging
Browse files
src/components/buttons/InteractButton.tsx
CHANGED
@@ -57,7 +57,7 @@ export default function InteractButton() {
|
|
57 |
if (isPlaying) {
|
58 |
console.log(`Leaving game for player ${userPlayerId}`);
|
59 |
void leave({ worldId , oauthToken});
|
60 |
-
console.log("game.world
|
61 |
game.world.players.delete(userPlayerId);
|
62 |
} else {
|
63 |
console.log(`Joining game`);
|
|
|
57 |
if (isPlaying) {
|
58 |
console.log(`Leaving game for player ${userPlayerId}`);
|
59 |
void leave({ worldId , oauthToken});
|
60 |
+
console.log("game.world",game.world)
|
61 |
game.world.players.delete(userPlayerId);
|
62 |
} else {
|
63 |
console.log(`Joining game`);
|