fixed return type
This commit is contained in:
parent
f9faea728f
commit
acf3f805d6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user