Spaces:
Sleeping
Sleeping
logs
Browse files- convex/aiTown/player.ts +2 -1
convex/aiTown/player.ts
CHANGED
@@ -309,9 +309,10 @@ export const playerInputs = {
|
|
309 |
type: CharacterTypeSchema
|
310 |
},
|
311 |
handler: (game, now, args) => {
|
|
|
312 |
Player.join(game, now, args.name, args.character, args.description, args.type ,args.tokenIdentifier);
|
313 |
// Temporary role assignment for testing
|
314 |
-
//
|
315 |
return null;
|
316 |
},
|
317 |
}),
|
|
|
309 |
type: CharacterTypeSchema
|
310 |
},
|
311 |
handler: (game, now, args) => {
|
312 |
+
console.log("PLayed joined with args : ", args.name, args.character, args.description, args.type ,args.tokenIdentifier )
|
313 |
Player.join(game, now, args.name, args.character, args.description, args.type ,args.tokenIdentifier);
|
314 |
// Temporary role assignment for testing
|
315 |
+
//game.assignRoles()
|
316 |
return null;
|
317 |
},
|
318 |
}),
|