fix routine thing
This commit is contained in:
+1
-3
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user