命令管理器初步兼容GM

This commit is contained in:
UnKownOwO
2022-11-26 10:25:09 +08:00
parent 71a1f20f8a
commit 7ea286bc12
3 changed files with 117 additions and 74 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ func (g *GameManager) Start() {
g.localEventManager.LocalEventHandle(localEvent)
case command := <-g.commandManager.commandTextInput:
// 处理传入的命令 (普通玩家 GM命令)
g.commandManager.ExecCommand(command)
g.commandManager.HandleCommand(command)
}
}
}()