fix routine thing

This commit is contained in:
adman
2026-03-27 00:03:01 +01:00
parent 7337068d86
commit e921e9e9d2
+1 -3
View File
@@ -66,9 +66,7 @@ type Conn struct {
} }
func (c *Conn) StartConn() (err error) { func (c *Conn) StartConn() (err error) {
if c.State() != proto_base.Play { c.sendTickAlways = c.State() != proto_base.Play
c.sendTickAlways = true
}
c.RegisterEventSource(c.ActivateReceiveRoutine()) c.RegisterEventSource(c.ActivateReceiveRoutine())
c.RegisterCritical(c.OnLoginTick) c.RegisterCritical(c.OnLoginTick)