feedback3 WC: the room's host can remove a human before the match (room.kick), the player is told and may join again

This commit is contained in:
sganggs committed 2026-10-04 17:15:21 +08:00
1 parent db57c39c7a
commit a308317041
5 files changed
+175 -6

No files matched your search

+2
View File
@@ -245,6 +245,8 @@ export const C2S = {
'room.setDifficulty': { difficulty: (v) => DIFFICULTIES.includes(v) },
'room.addBot': {},
'room.removeBot': { seat: (v) => isInt(v, 0, MAX_SEATS - 1) },
// the host removes another human before the match (server/lobby.js kick; community report #17)
'room.kick': { seat: (v) => isInt(v, 0, MAX_SEATS - 1) },
'room.start': {},
// operator loadout (DESIGN §16): stored per session/seat; accepted until the match leaves INFO_CHECK
'room.loadout': { entries: isLoadoutEntries },