summaryrefslogtreecommitdiff
path: root/script/lclient.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/lclient.lua')
-rw-r--r--script/lclient.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/lclient.lua b/script/lclient.lua
index e1504e61..13b431b0 100644
--- a/script/lclient.lua
+++ b/script/lclient.lua
@@ -24,6 +24,7 @@ function mt:__close()
end
function mt:_fakeProto()
+ ---@diagnostic disable-next-line: duplicate-set-field
proto.send = function (data)
self._outs[#self._outs+1] = data
if self.onSend then
@@ -47,6 +48,7 @@ function mt:_localLoadFile()
---@async
---@param name string
---@param params any
+ ---@diagnostic disable-next-line: duplicate-set-field
pub.awaitTask = function (name, params)
if name == 'loadFile' then
local path = params