1.离线玩家数据加分布式锁操作

2.修复聊天记录错乱
3.修复重启服务器后无法登录
This commit is contained in:
flswld
2023-02-12 23:47:44 +08:00
parent 0b3c075402
commit ddecfdea12
11 changed files with 108 additions and 35 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ func (g *GameDataConfig) loadGroup(group *Group, block *Block, sceneId int32, bl
block.groupMapLoadLock.Unlock()
}
func (g *GameDataConfig) loadScene() {
func (g *GameDataConfig) loadSceneDetail() {
g.SceneDetailMap = make(map[int32]*SceneDetail)
sceneLuaPrefix := g.luaPrefix + "scene/"
for _, sceneData := range g.SceneDataMap {