From a51f7a53aa2c487ebf94ba0363038574ae8bb590 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Tue, 7 Jul 2026 00:22:32 -0400 Subject: feat: hidden exits (and related flags) work with commands that change room ids. exit code simplified and unified between impassable and blocked exits. --- internal/game/cmd_verbs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/cmd_verbs.go') diff --git a/internal/game/cmd_verbs.go b/internal/game/cmd_verbs.go index 239f96b..b5c69ce 100644 --- a/internal/game/cmd_verbs.go +++ b/internal/game/cmd_verbs.go @@ -143,7 +143,7 @@ func (g *Game) executeVerbs(sess *net.Session, args []string, rawInput string) { if !ok { continue } - if ed.Hidden && !g.exitDiscovered(p, p.RoomID, dir) { + if !g.exitDisplayState(sess, p.RoomID, dir, ed).Visible { continue } exitDirs = append(exitDirs, string(dir)) -- cgit v1.2.3