diff --git a/docs/dev/Lua API.rst b/docs/dev/Lua API.rst index c52f39269e..e4bbd59e26 100644 --- a/docs/dev/Lua API.rst +++ b/docs/dev/Lua API.rst @@ -2614,8 +2614,8 @@ Thanks to this handle, it is possible to get a valid ``texpos`` at any time. Example usage:: - local logo_textures = dfhack.textures.loadTileset('hack/data/art/dfhack.png', 8, 12) - local first_texposhandle = logo_textures[1] + local logo_textures = dfhack.textures.loadTileset('hack/data/art/dfhack.png', 8, 12) + local first_texposhandle = logo_textures[1] * ``getTexposByHandle(handle)``