diff options
| author | historia <[not public]> | 2026-10-05 20:00:02 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-10-05 20:00:02 -0400 |
| commit | 4bc1daaf259e0c19c5fe4a12ec8bc7f6e5a735c1 (patch) | |
| tree | f7ea1da2f88f37c44b937aaaf1fd12c722811147 /internal/game/act_talk.go | |
| parent | a5447965e7808d656a5e5d9326a9ca0231148f85 (diff) | |
| download | thehouseoficarus-4bc1daaf259e0c19c5fe4a12ec8bc7f6e5a735c1.tar.gz | |
feat: terminal talk action, typed pai gow poker phase
Diffstat (limited to 'internal/game/act_talk.go')
| -rw-r--r-- | internal/game/act_talk.go | 4 |
1 files changed, 4 insertions, 0 deletions
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) } |
