Merge pull request #711 from dscarpac/playarea-api-fix

Fixed bug in PlayAreaApi
This commit is contained in:
Chr1Z 2024-06-11 18:56:43 +02:00 committed by GitHub
commit 918d73a0e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,7 +105,7 @@ do
-- Returns a deep copy of the currently tracked locations
PlayAreaApi.getTrackedLocations = function()
local t = {}
for k, v in pairs(getPlayArea().call("getTrackedLocations")) do
for k, v in pairs(getPlayArea().call("getTrackedLocations", {})) do
t[k] = v
end
return t