aboutsummaryrefslogtreecommitdiff
path: root/test-client/protocol.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test-client/protocol.ts')
-rw-r--r--test-client/protocol.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts
index 1334ddf8..f9f0dbaf 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -50,7 +50,7 @@ export type PacketC =
| { type: "communicate", player: PlayerID, message?: Message, persist: boolean } // A player wants to communicate something, message is null when cleared
| { type: "score", points: number, demands_failed: number, demands_completed: number, } // Supplies information for score OSD
| { type: "set_ingame", state: boolean } // Set to false when entering the game or switching maps
- | { type: "error", message?: Message } // Your client did something wrong.
+ | { type: "error", message: string } // Your client did something wrong.
export type Message =
{ item: number }