Skip to content

Commit

Permalink
fix(server/main): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mafewtm committed Sep 20, 2024
1 parent fb85b39 commit fe84e1b
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 @@ -121,7 +121,7 @@ end)
---@param shop string? Shop name to check if vehicle is allowed in that shop
---@return boolean
local function checkVehicleList(vehicle, shop)
for i = 1, allowedVehiclesCount do
for i = 1, #allowedVehiclesCount do
local allowedVeh = allowedVehicles[i]
if allowedVeh.model == vehicle then
if shop and allowedVeh.shopType == shop then
Expand Down

0 comments on commit fe84e1b

Please sign in to comment.