From 1b9e2da3b3c438d8dc53d3489725dd5ba0022777 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 11 Jun 2026 04:46:27 -0400 Subject: feat: web client, get/drop updates and fixes --- internal/game/cmd_ticktest.go | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 internal/game/cmd_ticktest.go (limited to 'internal/game/cmd_ticktest.go') 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.") -} -- cgit v1.2.3