Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
It need to return false, else will return the entire object
  • Loading branch information
JericoFX authored Jul 15, 2022
1 parent b2c7ad9 commit f913179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ end
local function GetActiveData(cid)
local player = type(cid) == "string" and cid or tostring(cid)
if player then
return activeUnits[player]
return activeUnits[player] or false
end
return false
end
Expand Down

0 comments on commit f913179

Please sign in to comment.