aboutsummaryrefslogtreecommitdiff
path: root/test-client/protocol.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-19 22:36:38 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-19 22:36:39 +0200
commit60adc9a098920f96a3ff1aefe791c129dfc5aa3e (patch)
tree9cbee30eeb35b183e9b8b6253f192ec17d29f2c9 /test-client/protocol.ts
parent5b8ac81f412043218120bd59fcfa9e969c7eeabe (diff)
downloadhurrycurry-60adc9a098920f96a3ff1aefe791c129dfc5aa3e.tar
hurrycurry-60adc9a098920f96a3ff1aefe791c129dfc5aa3e.tar.bz2
hurrycurry-60adc9a098920f96a3ff1aefe791c129dfc5aa3e.tar.zst
send tutorial success
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 8f20176f..6076d275 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -64,7 +64,7 @@ export type PacketC =
| { type: "score" } & Score // Supplies information for score OSD
| { type: "menu" } & Menu // Open a menu on the client-side
| { type: "environment", effects: string[] }
- | { type: "tutorial_ended", item: ItemIndex, player: PlayerID }
+ | { 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
export type Menu =