Kaynağa Gözat

Made command_list a table

Nathan Schneider 3 yıl önce
ebeveyn
işleme
3b31dffe67
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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