From 509dd46e37565e8b11e2fb86b670beb5ec973976 Mon Sep 17 00:00:00 2001 From: Hersi Date: Tue, 12 Apr 2022 23:35:18 +0200 Subject: [PATCH] fix lua api docs for GetKnob() --- docs/lua_api/game.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lua_api/game.lua b/docs/lua_api/game.lua index 1758dc0..d5d68a3 100644 --- a/docs/lua_api/game.lua +++ b/docs/lua_api/game.lua @@ -7,7 +7,7 @@ GetButton = function(button) end -- Gets the absolute rotation of the specified knob ---@param knob integer # `0 = left`, `1 = right` ----@return number angle # in radians, `0.0` to `2*pi` +---@return number angle # in radians, `-2*pi` to `0` (turning CCW) and `0` to `2*pi` (turning CW) GetKnob = function(knob) end -- Gets the color of the specified laser