diff options
| author | historia <[not public]> | 2026-06-11 04:46:27 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-11 08:58:37 +0000 |
| commit | 1b9e2da3b3c438d8dc53d3489725dd5ba0022777 (patch) | |
| tree | 62264f24420bf4cfaa734942c65cc8dd45ba3d3b /internal/game/cmd_ticktest.go | |
| parent | 06c02a697e5daf8832a462de5970dd4c0e13a02c (diff) | |
| download | thehouseoficarus-1b9e2da3b3c438d8dc53d3489725dd5ba0022777.tar.gz | |
feat: web client, get/drop updates and fixes
Diffstat (limited to 'internal/game/cmd_ticktest.go')
| -rw-r--r-- | internal/game/cmd_ticktest.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/internal/game/cmd_ticktest.go b/internal/game/cmd_ticktest.go deleted file mode 100644 index 6cadab7..0000000 --- a/internal/game/cmd_ticktest.go +++ /dev/null @@ -1,21 +0,0 @@ -package game - -import ( - "fmt" - - "thirdcollapse/internal/net" -) - -func (g *Game) doTickTest(sess *net.Session) { - count := 0 - g.Ticks.Subscribe(5, func() bool { - count++ - sess.WriteLine(fmt.Sprintf("[Tick #%d] 600ms heartbeat is working.", count)) - if count >= 3 { - sess.WriteLine("[Tick test complete.]") - return false - } - return true - }) - sess.WriteLine("Tick test started — you'll see 3 messages at 5-tick intervals while commands still work.") -} |
