Spaces:
Sleeping
Sleeping
log again
Browse files- convex/world.ts +1 -0
convex/world.ts
CHANGED
@@ -196,6 +196,7 @@ export const leaveWorld = mutation({
|
|
196 |
if (!existingPlayer) {
|
197 |
return;
|
198 |
}
|
|
|
199 |
await insertInput(ctx, world._id, 'leave', {
|
200 |
playerId: existingPlayer.id,
|
201 |
});
|
|
|
196 |
if (!existingPlayer) {
|
197 |
return;
|
198 |
}
|
199 |
+
console.log("leaving is : ", existingPlayer)
|
200 |
await insertInput(ctx, world._id, 'leave', {
|
201 |
playerId: existingPlayer.id,
|
202 |
});
|