diff options
| author | historia <[not public]> | 2026-09-15 15:35:52 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-15 15:35:52 -0400 |
| commit | 0b0b25222b3131ada79ff78c28eb8bf07d977deb (patch) | |
| tree | 2ceaef5203595044f66a8f00064cd8e017f8f48d /internal/net/web.go | |
| parent | 396c3facb8287b9a34076cae8f3d7b300d366d99 (diff) | |
| download | thehouseoficarus-0b0b25222b3131ada79ff78c28eb8bf07d977deb.tar.gz | |
feat: single-owner game state, transactional lifecycle, durable money on server stop
Diffstat (limited to 'internal/net/web.go')
| -rw-r--r-- | internal/net/web.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/net/web.go b/internal/net/web.go index e573aba..233928f 100644 --- a/internal/net/web.go +++ b/internal/net/web.go @@ -64,6 +64,7 @@ func newHTTPMux(s *Server) *http.ServeMux { Conn: newWSConn(ws), State: StateAccountName, } + sess.StartWriter() s.hub.Add(sess) go s.handleSession(sess, s.handler) }) |
