Skip to content

Commit

Permalink
Removed unused loop variable from lint report
Browse files Browse the repository at this point in the history
  • Loading branch information
mbiddle committed Nov 27, 2024
1 parent 32c40ac commit 5031cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function GetSpawnPoint(garage)
local location = nil
if #garage.spawnPoint > 1 then
local maxTries = #garage.spawnPoint
for i = 1, maxTries do
for _ = 1, maxTries do
local randomIndex = math.random(1, #garage.spawnPoint)
local chosenSpawnPoint = garage.spawnPoint[randomIndex]
local isOccupied = IsPositionOccupied(
Expand Down

0 comments on commit 5031cfe

Please sign in to comment.