Code: Select all
if creepsinrange[1] ~= nil then
table.remove(squares, fclosest(creepsinrange))
end
There's still a few things wrong with my code but at least I can move on now.
Code: Select all
if creepsinrange[1] ~= nil then
table.remove(squares, fclosest(creepsinrange))
end