Skip to content

Commit

Permalink
fix(zones): Removal index error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheiLLeniumStudios committed Feb 27, 2023
1 parent 3bdddb2 commit 37974ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ end

local function RemoveZones()
for i = 1, #Zones.Store do
Zones.Store[i]:remove()
if Zones.Store[i]["remove"] then
Zones.Store[i]:remove()
end
end
for i = 1, #Zones.ClothingRoom do
Zones.ClothingRoom[i]:remove()
Expand Down

0 comments on commit 37974ae

Please sign in to comment.