From d5b943056f3a8fbe6b6d9a8bca5b0e94de55eff8 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 29 Jun 2024 20:05:12 +0200 Subject: message visuals in test-client --- 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 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 } -- cgit v1.2.3-70-g09d2