aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_room_remove_test.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-09-15 15:35:52 -0400
committerhistoria <[not public]>2026-09-15 15:35:52 -0400
commit0b0b25222b3131ada79ff78c28eb8bf07d977deb (patch)
tree2ceaef5203595044f66a8f00064cd8e017f8f48d /internal/game/cmd_room_remove_test.go
parent396c3facb8287b9a34076cae8f3d7b300d366d99 (diff)
downloadthehouseoficarus-0b0b25222b3131ada79ff78c28eb8bf07d977deb.tar.gz
feat: single-owner game state, transactional lifecycle, durable money on server stop
Diffstat (limited to 'internal/game/cmd_room_remove_test.go')
-rw-r--r--internal/game/cmd_room_remove_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/game/cmd_room_remove_test.go b/internal/game/cmd_room_remove_test.go
index 8bd8470..cd9569d 100644
--- a/internal/game/cmd_room_remove_test.go
+++ b/internal/game/cmd_room_remove_test.go
@@ -6,6 +6,7 @@ import (
"strconv"
"strings"
"testing"
+ "time"
"thehouseoficarus/internal/combat"
"thehouseoficarus/internal/net"
@@ -21,6 +22,8 @@ func (c *removeTestConn) Write(b []byte) (int, error) {
c.buf = append(c.buf, b...)
return len(b), nil
}
+func (c *removeTestConn) SetWriteDeadline(time.Time) error { return nil }
+
func (c *removeTestConn) Close() error { return nil }
func (c *removeTestConn) SetEcho(bool) error { return nil }