From bee9b2e489cb89d7ffc4325db08c3d6759767152 Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Wed, 13 May 2026 12:34:02 +0200 Subject: [PATCH] - [FIX] Arreglats xicotets errors del library.lua per a code completion en vscode --- vscode/library.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vscode/library.lua b/vscode/library.lua index eaa9084..b2ae7c3 100644 --- a/vscode/library.lua +++ b/vscode/library.lua @@ -446,9 +446,11 @@ function sound.enabled(value) end ---@class sys sys = {} +---@return number delta ---Get delta time from last update in seconds (with decimals) function sys.delta() end +---@return number time ---Get current system timer in seconds (with decimals) function sys.time() end @@ -456,8 +458,8 @@ function sys.time() end ---Reset chrono time (with offset in seconds) (with decimals) function sys.chrono(offset) end ----@return number ----@---Get chrono time since last chrono reset in seconds (with decimals) +---@return number seconds +---Get chrono time since last chrono reset in seconds (with decimals) function sys.chrono() end ---@return boolean