From 08269639606c0481037cbde7ebaf2e0455460883 Mon Sep 17 00:00:00 2001 From: salmonik Date: Thu, 29 Oct 2026 18:43:09 +0100 Subject: v2.2.1: forfeit blackjack bets when leaving or disconnecting --- AGENTS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index f7f0d2b..9bee619 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -21,7 +21,8 @@ touched. The session is the audit trail for the deduction; without it the deduction is orphaned. - Clean up sessions on client disconnect. If a game is in progress when the - connection drops, the server must roll back the bet. + connection drops, settle it as a forfeit (the reserved bet is lost) and + record the play; never refund an active hand. ## Server Handler - Never hold a lock, drop it, then re-acquire it in the same function to -- cgit v1.2.3