From 5031cfe835e6fc13df9a2fada96fc4a9c5ad0098 Mon Sep 17 00:00:00 2001 From: Michael Biddle <556637+mbiddle@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:10:13 -0800 Subject: [PATCH] Removed unused loop variable from lint report --- client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.lua b/client/main.lua index 273bed1..be2e3c4 100644 --- a/client/main.lua +++ b/client/main.lua @@ -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(