From bc042bc7dfb062d7761a0c55c0ce47a57af04c91 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Sat, 18 Dec 2021 02:05:16 -0800 Subject: [PATCH] Use copyall instead of nesting pos2xyz and xyz2pos --- docs/Lua API.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Lua API.rst b/docs/Lua API.rst index a67fe9cf6..0b50695e5 100644 --- a/docs/Lua API.rst +++ b/docs/Lua API.rst @@ -1012,7 +1012,7 @@ Fortress mode {x = 5, y = 7, z = 11} getSelectedUnit().pos - xyz2pos(pos2xyz(df.global.cursor)) + copyall(df.global.cursor) Returns false if unsuccessful.