From 90fc4269dfb534ab1a4072104f78c5adfb2ed954 Mon Sep 17 00:00:00 2001 From: Aleksander Spro Date: Tue, 13 Sep 2022 17:53:44 +0200 Subject: [PATCH] Fix to Zone TLO --- mq.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mq.lua b/mq.lua index c406fa9..f7c2636 100644 --- a/mq.lua +++ b/mq.lua @@ -295,12 +295,12 @@ TLO.Zone = nil ---@diagnostic disable: assign-type-mismatch ----Retrieves information about a zone by zone ID. If this zone is the current zone, then this will return currentzone. ---@param id integer Zone ID ----@return zone|nil +---@return zone|fun(): string | nil function TLO.Zone(id) end ----Retrieves information about a zone by short name. If this zone is the current zone, then this will return currentzone. ---@param shortName string Zone Short Name ----@return zone|nil +---@return zone|fun(): string | nil function TLO.Zone(shortName) end ---@diagnostic enable: assign-type-mismatch ---@diagnostic enable: duplicate-set-field