Просмотр исходного кода

docs/sphinx: Fix typo in script sources section

Han-Tai Chen 7 лет назад
Родитель
Сommit
1a3d4d62d7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docs/sphinx/scripting.rst

+ 1 - 1
docs/sphinx/scripting.rst

@@ -144,7 +144,7 @@ and define its keys the same way you would define an
             return "My Source"
     end
 
-    info.create = function(source, settings)
+    info.create = function(settings, source)
             -- typically source data would be stored as a table
             local my_source_data = {}