Skip to content

Commit

Permalink
Update main.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
JericoFX authored Jul 15, 2022
1 parent f913179 commit 25ffbda
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] or false
return activeUnits[player] and true or false
end
return false
end
Expand Down

0 comments on commit 25ffbda

Please sign in to comment.