修改日志模块

This commit is contained in:
huangxiaolei
2022-12-13 16:52:06 +08:00
parent 9dc864ff69
commit 662b058327
19 changed files with 134 additions and 82 deletions

View File

@@ -10,7 +10,7 @@ import (
func TestAoiManagerGetSurrGridListByGid(t *testing.T) {
filePath := "./application.toml"
config.InitConfig(filePath)
logger.InitLogger("", config.CONF.Logger)
logger.InitLogger("")
aoiManager := NewAoiManager(
-150, 150, 3,
-150, 150, 3,

View File

@@ -73,7 +73,7 @@ func (g *GameManager) Stop() {
LOCAL_EVENT_MANAGER.localEventChan <- &LocalEvent{
EventId: RunUserCopyAndSave,
}
time.Sleep(time.Second * 5)
time.Sleep(time.Second * 3)
//g.worldManager.worldStatic.SaveTerrain()
}