From 4bc1daaf259e0c19c5fe4a12ec8bc7f6e5a735c1 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 5 Oct 2026 20:00:02 -0400 Subject: feat: terminal talk action, typed pai gow poker phase --- internal/game/act_talk.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/game/act_talk.go') diff --git a/internal/game/act_talk.go b/internal/game/act_talk.go index fa93435..8f47bf5 100644 --- a/internal/game/act_talk.go +++ b/internal/game/act_talk.go @@ -139,6 +139,10 @@ func (g *Game) showTalkNode(sess *net.Session, node behavior.TalkNode) { } } + // A terminal node (no options, no goto) ends the conversation; clear the + // action or it lingers as a stale talk action (status shows "talking", + // isBusy suppresses the prompt, and advanceTalk no-ops every tick). + g.cancelAction(p) sess.SetState(net.StateGame) g.writePrompt(sess) } -- cgit v1.2.3