Browse Source

docs/sphinx: Fix typo in script sources section

Han-Tai Chen 7 years ago
parent
commit
1a3d4d62d7
1 changed files with 1 additions and 1 deletions
  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 = {}