have client create player id

This commit is contained in:
evanpelle
2024-09-07 21:23:38 -07:00
parent 24ad59c75d
commit 8331047a9b
6 changed files with 15 additions and 10 deletions
+1
View File
@@ -55,6 +55,7 @@ export const AttackIntentSchema = BaseIntentSchema.extend({
export const SpawnIntentSchema = BaseIntentSchema.extend({
type: z.literal('spawn'),
playerID: z.string(),
name: z.string(),
playerType: PlayerTypeSchema,
x: z.number(),