Browse Source

Made command_list a table

Nathan Schneider 3 years ago
parent
commit
3b31dffe67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modpol_minetest/chatcommands/chatcommands.lua

+ 1 - 1
modpol_minetest/chatcommands/chatcommands.lua

@@ -4,7 +4,7 @@
 
 local chat_table                -- MT chat command definitions table
 local regchat                   -- Chat-command registration function
-local command_list              -- user-facing list of commands
+local command_list = {}         -- user-facing list of commands
 
 regchat = minetest.register_chatcommand