mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
tcp socket协议分割解析优化
This commit is contained in:
@@ -333,6 +333,9 @@ func (s *Scene) RemoveGroupSuite(groupId uint32, suiteId uint8) {
|
||||
s.DestroyEntity(entity.id)
|
||||
}
|
||||
delete(group.suiteMap, suiteId)
|
||||
if len(group.suiteMap) == 0 {
|
||||
delete(s.groupMap, groupId)
|
||||
}
|
||||
}
|
||||
|
||||
type Group struct {
|
||||
|
||||
Reference in New Issue
Block a user