From 8059e28bbc363dd6304cc67db69dbc573f6e0280 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 2 Jun 2025 18:04:20 +0200 Subject: send clientbound pause notification --- test-client/protocol.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'test-client') diff --git a/test-client/protocol.ts b/test-client/protocol.ts index d1cd9c07..6a1d2909 100644 --- a/test-client/protocol.ts +++ b/test-client/protocol.ts @@ -69,6 +69,7 @@ export type PacketC = | { type: "environment", effects: string[] } | { type: "tutorial_ended", item: ItemIndex, player: PlayerID, success: boolean } | { type: "set_ingame", state: boolean, lobby: boolean } // Set to false when entering the game or switching maps + | { type: "pause", state: boolean } // Set game paused so clients dont increment timers export type Menu = { menu: "document", data: DocumentElement } -- cgit v1.2.3-70-g09d2