Skip to content

Commit

Permalink
Merge pull request #17 from geeknessfr/patch-1
Browse files Browse the repository at this point in the history
Mistyping and and "c" variable never used
  • Loading branch information
RampBST authored May 1, 2022
2 parents d518263 + 84e8b6b commit 03d54e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ Citizen.CreateThread(function()
WeatherCounter = 0
if #Group >= TimesChanged then
local TableCleared = true
for c, d in pairs(Group) do
for _, d in pairs(Group) do
if LastWeatherTable[d] == nil then
if v == 'THUNDER' and math.random(1,100) > Config.ThunderChance then
if d == 'THUNDER' and math.random(1,100) > Config.ThunderChance then
break
end
TimesChanged = TimesChanged+1
Expand Down Expand Up @@ -336,4 +336,4 @@ function PermissionsCheck(source)
return true

end
end
end

0 comments on commit 03d54e5

Please sign in to comment.