From 5c6942a89cf7145a6501fcfab76443932741d509 Mon Sep 17 00:00:00 2001 From: shevernitskiy Date: Wed, 30 Aug 2023 10:45:17 +0300 Subject: [PATCH] intendation for example --- docs/dev/Lua API.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/dev/Lua API.rst b/docs/dev/Lua API.rst index c52f39269..e4bbd59e2 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)``