fixed return type

This commit is contained in:
Chr1Z93 2024-02-03 01:54:51 +01:00
parent f9faea728f
commit acf3f805d6

View File

@ -118,7 +118,7 @@ do
-- Gets the global position for the given zone on the specified player mat.
---@param playerColor string Color name of the player mat to get the zone position for (e.g. "Red")
---@param zoneName string Name of the zone to get the position for. See Zones object documentation for a list of valid zones.
---@return tts__Vector: Global position table, or nil if an invalid player color or zone is specified
---@return tts__Vector|nil: Global position table, or nil if an invalid player color or zone is specified
Zones.getZonePosition = function(playerColor, zoneName)
if (playerColor ~= "Red"
and playerColor ~= "Orange"