Jofthomas HF Staff commited on
Commit
3eefd48
·
1 Parent(s): eddea4c
Files changed (1) hide show
  1. 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
  });