From edcc1b39f09dbf9317d1cf4915208f6d1f7c3fdc Mon Sep 17 00:00:00 2001 From: sammyette <38820196+TorchedSammy@users.noreply.github.com> Date: Wed, 9 Jun 2021 20:43:01 -0400 Subject: [PATCH] docs: add todo to lua.go --- lua.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lua.go b/lua.go index 7151c1c..0827226 100644 --- a/lua.go +++ b/lua.go @@ -42,6 +42,7 @@ func LuaInit() { cmds := commander.New() // When a command from Lua is added, register it for use + // TODO: maybe dont add command code to a lua table? insstead use a map cmds.Events.On("commandRegister", func(cmdName string, cmd *lua.LFunction) { commands[cmdName] = true