From b8f7115ef39ff8e855f3452e087241f974745438 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 17 Jun 2024 02:25:55 +0200 Subject: prime clients and tile rendering --- test-client/protocol.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-client/protocol.ts') diff --git a/test-client/protocol.ts b/test-client/protocol.ts index 3b61ce94..717383d4 100644 --- a/test-client/protocol.ts +++ b/test-client/protocol.ts @@ -12,7 +12,7 @@ export type PacketS = export type PacketC = { joined: { id: ID } } - | { add_player: { id: ID, name: string } } + | { add_player: { id: ID, name: string, hand?: [number, Item] } } | { remove_player: { id: ID } } | { position: { player: ID, pos: Vec2, rot: number } } | { take_item: { item: ID, player: ID } } -- cgit v1.2.3-70-g09d2