This commit is contained in:
@@ -40,7 +40,7 @@ func (s *Server) QuitSelf(a int) error {
|
||||
//TODO 这里待退出
|
||||
fmt.Println("检测到退出请求")
|
||||
|
||||
//s.quit = true
|
||||
s.quit = true
|
||||
if a != 0 {
|
||||
player.Mainplayer.Range(func(key uint32, value *player.Player) bool {
|
||||
if value != nil {
|
||||
|
||||
Reference in New Issue
Block a user