aboutsummaryrefslogtreecommitdiff
path: root/internal/net/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/net/server.go')
-rw-r--r--internal/net/server.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/internal/net/server.go b/internal/net/server.go
index 80710ad..c715074 100644
--- a/internal/net/server.go
+++ b/internal/net/server.go
@@ -65,8 +65,11 @@ type Session struct {
PendingBackground bool
PendingUndigDir string
PendingUndigRoom int
- promptVisible bool
- writeMu sync.Mutex
+ // Casino spectator preferences are session-local, owner-goroutine only.
+ CasinoWatchRoom int
+ CasinoWatchTable string
+ promptVisible bool
+ writeMu sync.Mutex
// Disconnect bookkeeping is written by the connection goroutine that
// discovered the dead transport (Hub.Remove's deferred path) and read