Change back to compound operators

This commit is contained in:
TheiLLeniumStudios
2022-05-06 13:56:21 +00:00
parent be61c39319
commit fe9dae0543
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ function QBCore.Functions.GetPlayersOnDuty(job)
if Player.PlayerData.job.name == job then
if Player.PlayerData.job.onduty then
players[#players + 1] = src
count = count + 1
count += 1
end
end
end
@@ -96,7 +96,7 @@ function QBCore.Functions.GetDutyCount(job)
for _, Player in pairs(QBCore.Players) do
if Player.PlayerData.job.name == job then
if Player.PlayerData.job.onduty then
count = count + 1
count += 1
end
end
end